Skip to content

Merge pull request #421 from plus3it/revert-410-dependabot/github_act… #353

Merge pull request #421 from plus3it/revert-410-dependabot/github_act…

Merge pull request #421 from plus3it/revert-410-dependabot/github_act… #353

Workflow file for this run

name: Create GitHub Release
on:
# Run on demand
workflow_dispatch:
# Run on push to main and when any of associated files are updated
push:
branches:
- main
paths:
- Dockerfile.tools
- '.github/workflows/dependabot_hack.yml'
- 'providers/versions.tf'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- run: git fetch --tags --force origin # WA: https://github.com/actions/checkout/issues/882
- name: Create release
uses: softprops/action-gh-release@7b4da11513bf3f43f9999e90eabced41ab8bb048
with:
name: release/${{ github.sha }}
tag_name: release/${{ github.sha }}
generate_release_notes: true
target_commitish: ${{ github.sha }}
token: ${{ secrets.GH_RELEASES_TOKEN }}