Bump denoland/deno from alpine-2.0.6 to alpine-2.1.1 #182
Workflow file for this run
This file contains 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 Drafter | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
permissions: | |
contents: read | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- id: release_draft | |
uses: release-drafter/release-drafter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Version Update | |
if: github.event_name == 'push' | |
env: | |
TAG_NAME: ${{ steps.release_draft.outputs.tag_name }} | |
ALL: ${{ toJson(steps.release_draft.outputs) }} | |
run: | | |
deno run -A main.ts set $TAG_NAME | |
git config --global user.email "[email protected]" | |
git config --global user.name "Justin Chase" | |
git status --short | |
if [[ $(git commit -am "$TAG_NAME") ]] | |
then | |
git push | |
else | |
echo "No changes detected, skipping commit." | |
fi |