Skip to content

ci(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3 in the… #23

ci(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3 in the…

ci(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3 in the… #23

Workflow file for this run

---
name: Draft Release
on:
push:
branches:
- main
workflow_dispatch:
# pull_request:
# # Only following types are handled by the action, but one can default to all as well
jobs:
draft-release:
if: ${{ github.repository_owner == 'raven-actions' }}
name: Draft Release
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Get Token
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
id: get-token
with:
app-id: ${{ secrets.ORG_BOT_APP_ID }}
private-key: ${{ secrets.ORG_BOT_PRIVATE_KEY }}
- name: Run Release Drafter
uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
id: release-drafter
with:
prerelease: true
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
- name: Get Release URL
run: |
echo "${RELEASE_URL}"
echo "${RELEASE_URL}" >> $GITHUB_STEP_SUMMARY
env:
RELEASE_URL: ${{ steps.release-drafter.outputs.html_url }}