summaryrefslogtreecommitdiffstats
path: root/.github/workflows/auto_tag.yml
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-03 13:18:28 +0100
committerGitHub <noreply@github.com>2022-04-03 13:18:28 +0100
commit27ae37d626ca534be196bf4a0bdffa8e03a5a159 (patch)
tree7fe8c0fad8360c6b01c2aa2ec773dd68b0a71e20 /.github/workflows/auto_tag.yml
parent61bd61347ab1739524f375871407d54436f4c68e (diff)
Align action workflow filenames (#16776)
Diffstat (limited to '.github/workflows/auto_tag.yml')
-rw-r--r--.github/workflows/auto_tag.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/auto_tag.yml b/.github/workflows/auto_tag.yml
new file mode 100644
index 0000000000..29e85c41ca
--- /dev/null
+++ b/.github/workflows/auto_tag.yml
@@ -0,0 +1,33 @@
+name: Essential files modified
+
+on:
+ push:
+ branches:
+ - master
+ paths:
+ - quantum/**/*
+ - tmk_core/**/*
+ - drivers/**/*
+ - tests/**/*
+ - util/**/*
+ - platforms/**/*
+ - Makefile
+ - '*.mk'
+
+jobs:
+ tag:
+ runs-on: ubuntu-latest
+
+ # protect against those who develop with their fork on master
+ if: github.repository == 'qmk/qmk_firmware'
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+
+ - name: Bump version and push tag
+ uses: anothrNick/github-tag-action@1.26.0
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ DEFAULT_BUMP: 'patch'