summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_tag.yml
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-04-03 12:18:57 +0000
committerQMK Bot <hello@qmk.fm>2022-04-03 12:18:57 +0000
commite6a7e7ac8e81bbfc49489d584c8afc60dae696ce (patch)
tree7c57f261c4800c0e872943280c4056141c2958eb /.github/workflows/auto_tag.yml
parentcffe7f9caebdc768d62b2137cc6949b7c36c4cd9 (diff)
parent27ae37d626ca534be196bf4a0bdffa8e03a5a159 (diff)
Merge remote-tracking branch 'origin/master' into develop
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'