Release by @dstrates 880cbb99251b3f444bce45418e2d2fe359571b7e #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.tf" | |
- "!examples/**" | |
concurrency: | |
group: release | |
cancel-in-progress: false | |
run-name: Release by @${{ github.actor }} ${{ github.sha }} | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Auto | |
uses: auto-it/setup-auto@v1 | |
with: | |
gh-token: ${{ secrets.GH_TOKEN }} | |
- name: Release | |
run: auto shipit |