-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #342 from estruyf/dev
- Loading branch information
Showing
79 changed files
with
1,420 additions
and
8,899 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Project labelling | ||
|
||
on: | ||
project_card: | ||
types: [created, moved, deleted] | ||
|
||
jobs: | ||
automate-issues-labels: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch project data | ||
run: | | ||
echo 'PROJECT_DATA<<EOF' >> $GITHUB_ENV | ||
curl --request GET --url '${{ github.event.project_card.project_url }}' --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- name: Add the project label | ||
uses: andymckay/labeler@master | ||
if: ${{ contains(github.event.action, 'created') || contains(github.event.action, 'moved') }} | ||
with: | ||
add-labels: "Project: ${{ fromJSON(env.PROJECT_DATA).name }}" | ||
|
||
- name: Remove the project label | ||
uses: andymckay/labeler@master | ||
if: ${{ contains(github.event.action, 'deleted') }} | ||
with: | ||
remove-labels: "Project: ${{ fromJSON(env.PROJECT_DATA).name }}" |
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
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
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
Oops, something went wrong.