diff options
| author | Joel Challis <git@zvecr.com> | 2020-12-06 12:54:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-06 12:54:08 +0000 |
| commit | 8d6ad23b096ed2fc4d8fd0e6781fca30b87b343f (patch) | |
| tree | 49f09a6756a88414286f406a06913d1b986640eb /.github/workflows | |
| parent | a6a12890037c706e67716e28e37432693ba17ace (diff) | |
| download | qmk_firmware-8d6ad23b096ed2fc4d8fd0e6781fca30b87b343f.tar.gz qmk_firmware-8d6ad23b096ed2fc4d8fd0e6781fca30b87b343f.zip | |
CI: Add workflow for tagging essential modified files (#7384)
* Add workflow for tagging essential modified files
* Update inline with recent actions
* align rules to labeler
* Update .github/workflows/auto_tag.yaml
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/auto_tag.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/auto_tag.yaml b/.github/workflows/auto_tag.yaml new file mode 100644 index 000000000..e6a1d52b3 --- /dev/null +++ b/.github/workflows/auto_tag.yaml | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | name: Essential files modified | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: | ||
| 6 | - master | ||
| 7 | paths: | ||
| 8 | - quantum/**/* | ||
| 9 | - tmk_core/**/* | ||
| 10 | - drivers/**/* | ||
| 11 | - tests/**/* | ||
| 12 | - util/**/* | ||
| 13 | - platforms/**/* | ||
| 14 | - Makefile | ||
| 15 | - '*.mk' | ||
| 16 | |||
| 17 | jobs: | ||
| 18 | tag: | ||
| 19 | runs-on: ubuntu-latest | ||
| 20 | |||
| 21 | # protect against those who develop with their fork on master | ||
| 22 | if: github.repository == 'qmk/qmk_firmware' | ||
| 23 | |||
| 24 | steps: | ||
| 25 | - uses: actions/checkout@v2 | ||
| 26 | with: | ||
| 27 | fetch-depth: 0 | ||
| 28 | |||
| 29 | - name: Bump version and push tag | ||
| 30 | uses: anothrNick/github-tag-action@1.26.0 | ||
| 31 | env: | ||
| 32 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
