File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - name : Dump GitHub context
1616 env :
1717 GITHUB_CONTEXT : ' ${{ toJson(github) }}'
18- run : echo "${ GITHUB_CONTEXT} "
18+ run : echo "$GITHUB_CONTEXT"
1919
2020 - uses : actions/checkout@v3
2121
3434 env :
3535 RELEASE_TAG : " ${{ github.event.release.tag_name }}"
3636 run : |
37- git checkout -b "update-bundle/${ RELEASE_TAG} "
38- git commit -am "Update default bundle to ${ RELEASE_TAG} "
39- git push --set-upstream origin "update-bundle/${ RELEASE_TAG} "
37+ git checkout -b "update-bundle/$RELEASE_TAG"
38+ git commit -am "Update default bundle to $RELEASE_TAG"
39+ git push --set-upstream origin "update-bundle/$RELEASE_TAG"
4040
4141 - name : Open pull request
4242 env :
@@ -46,11 +46,11 @@ jobs:
4646 pr_url=$(gh pr create \
4747 --title "Update default bundle to $cli_version" \
4848 --body "This pull request updates the default CodeQL bundle, as used with \`tools: latest\` and on GHES, to $cli_version." \
49- --assignee "${ GITHUB_ACTOR} " \
49+ --assignee "$GITHUB_ACTOR" \
5050 --draft \
5151 )
52- echo "CLI_VERSION=$cli_version" >> $GITHUB_ENV
53- echo "PR_URL=$pr_url" >> $GITHUB_ENV
52+ echo "CLI_VERSION=$cli_version" | tee -a " $GITHUB_ENV"
53+ echo "PR_URL=$pr_url" | tee -a " $GITHUB_ENV"
5454
5555 - name : Create changelog note
5656 shell : python
You can’t perform that action at this time.
0 commit comments