summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_tag.yml
diff options
context:
space:
mode:
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'