Skip to content

Update Bundle Version #1

Update Bundle Version

Update Bundle Version #1

name: Update Bundle Version
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
get-version:
uses: emacs-tree-sitter/treesit-langs/.github/workflows/get_version.yml@master

Check failure on line 14 in .github/workflows/update_bundle_version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update_bundle_version.yml

Invalid workflow file

error parsing called workflow ".github/workflows/update_bundle_version.yml" -> "emacs-tree-sitter/treesit-langs/.github/workflows/get_version.yml@master" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
main:
needs: [get-version]
runs-on: ubuntu-latest
env:
VERSION: ${{ needs.get-version.outputs.version }}
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
fetch-depth: 0
- name: Expose bundle version
run: |
echo "BUNDLE_VER=${{ env.VERSION }}" >> $GITHUB_ENV
- name: Update Bundle Version
run: |
eask run script update-bundle-version
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: 'Update Bundle Version to ${{ env.VERSION }}'
body: ''
commit-message: 'Update Bundle Version to ${{ env.VERSION }}'
branch: submodules-update
delete-branch: true