summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-12-06 12:54:08 +0000
committerGitHub <noreply@github.com>2020-12-06 12:54:08 +0000
commit8d6ad23b096ed2fc4d8fd0e6781fca30b87b343f (patch)
tree49f09a6756a88414286f406a06913d1b986640eb /.github/workflows
parenta6a12890037c706e67716e28e37432693ba17ace (diff)
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.yaml32
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 0000000000..e6a1d52b38
--- /dev/null
+++ b/.github/workflows/auto_tag.yaml
@@ -0,0 +1,32 @@
+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 }}