Skip to content

Master

Master #18

Workflow file for this run

name: "Auto Release"
on:
pull_request:
types:
- closed
jobs:
auto-release:
if: github.event.pull_request.merged == true && github.event.pull_request.user.login == 'dependabot[bot]'
name: "Auto Release"
runs-on: "ubuntu-latest"
steps:
- id: get-version
run: |
LATEST_TAG=$(curl -s "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/latest" | jq -r '.name')
URL='https://gist.githubusercontent.com/mietzen/cd33efb65f91619201a45ac50dcfc29e/raw/bump-version'
echo "version=v$(wget -qO - ${URL} | bash -s ${LATEST_TAG} bug)" >> $GITHUB_OUTPUT
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: "softprops/action-gh-release@v1"
with:
token: ${{ steps.generate-token.outputs.token }}
tag_name: ${{ steps.get-version.outputs.version }}
generate_release_notes: true