summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_tag.yml
blob: 9a564e45c436f7aad00c7407a15a779ccae4428b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Essential files modified

permissions:
  contents: write

on:
  push:
    branches:
    - master
    paths:
    - builddefs/**/*
    - drivers/**/*
    - platforms/**/*
    - quantum/**/*
    - tests/**/*
    - tmk_core/**/*
    - util/**/*
    - 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@v3
      with:
        fetch-depth: 0

    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@1.64.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        DEFAULT_BUMP: 'patch'