diff options
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 }} | ||
