Skip to content

Merge pull request #198 from plus3it/dependabot/github_actions/hashic… #164

Merge pull request #198 from plus3it/dependabot/github_actions/hashic…

Merge pull request #198 from plus3it/dependabot/github_actions/hashic… #164

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@b4ffde65f46336ab88eb53be808477a3936bae11
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@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
name: release/${{ github.sha }}
tag_name: release/${{ github.sha }}
generate_release_notes: true
target_commitish: ${{ github.sha }}
token: ${{ secrets.GH_RELEASES_TOKEN }}