Skip to content
name: Auto Create Release

Check failure on line 1 in .github/workflows/auto-create-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-create-release.yml

Invalid workflow file

`workflow_dispatch push` is not a valid event name
on:
workflow_dispatch
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: echo ${{ github.sha }} > Release.txt
- name: Test
run: cat Release.txt
- name: Generate Changelog
run: echo "# Good things have arrived" > ${{ github.workspace }}-CHANGELOG.md
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body: |
Line1
Line2
Line3
draft: false
prerelease: false
discussion_category_name: 🙌 Show and tell
generate_release_notes: true
make_latest: true
token: ${{ secrets.Apple_Shortcuts_Gallery }}
files: |
Shortcuts_Backup_with_Folders.zip
Shortcuts_Backup_without_Folders.zip