diff --git a/.github/workflows/update-formula.yml b/.github/workflows/update-formula.yml index 7c2acf7..7f0f6c3 100644 --- a/.github/workflows/update-formula.yml +++ b/.github/workflows/update-formula.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - name: Compute Formula shell: bash - run: ./update-version ${github.event.inputs.version} + run: ./update-version ${{ github.event.inputs.version}} - name: Create PR run: | @@ -29,9 +29,9 @@ jobs: if [[ $(git diff --exit-code Formula/**.rb) ]]; then git add Formula/**.rb - git commit -m "Update Formula for version ${github.event.inputs.version}" + git commit -m "Update Formula for version ${{ github.event.inputs.version}} git push origin acknowledgements/${GITHUB_RUN_ID} - gh pr create --title "Update Formula for version ${github.event.inputs.version}" --body "This PR updates the Formula for version ${github.event.inputs.version}" --base trunk --head update-formula/${GITHUB_RUN_ID} + gh pr create --title "Update Formula for version ${{ github.event.inputs.version}}" --body "This PR updates the Formula for version ${{ github.event.inputs.version}}" --base trunk --head update-formula/${GITHUB_RUN_ID} else echo "No changes detected" fi