mirror of
https://github.com/tcivie/meshtastic-metrics-exporter.git
synced 2025-02-20 19:05:40 -08:00
Merge pull request #42 from tcivie/tcivie-patch-1
Update auto-tagging.yml
This commit is contained in:
commit
5b208755d3
32
.github/workflows/auto-tagging.yml
vendored
32
.github/workflows/auto-tagging.yml
vendored
|
@ -1,18 +1,26 @@
|
||||||
name: Auto Tagger
|
name: Bump version
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
|
types:
|
||||||
|
- closed
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto-tag:
|
build:
|
||||||
runs-on: ubuntu-latest
|
if: github.event.pull_request.merged == true
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v3
|
with:
|
||||||
with:
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: '0'
|
||||||
|
|
||||||
- name: Github PR Auto Tagger
|
- name: Bump version and push tag
|
||||||
uses: RueLaLa/auto-tagger@v2.1.3
|
uses: anothrNick/github-tag-action@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
WITH_V: true
|
||||||
|
PRERELEASE: true
|
||||||
|
|
Loading…
Reference in a new issue