File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 15
15
- name : Dump GitHub context
16
16
env :
17
17
GITHUB_CONTEXT : ' ${{ toJson(github) }}'
18
- run : echo "${ GITHUB_CONTEXT} "
18
+ run : echo "$GITHUB_CONTEXT"
19
19
20
20
- uses : actions/checkout@v3
21
21
34
34
env :
35
35
RELEASE_TAG : " ${{ github.event.release.tag_name }}"
36
36
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"
40
40
41
41
- name : Open pull request
42
42
env :
@@ -46,11 +46,11 @@ jobs:
46
46
pr_url=$(gh pr create \
47
47
--title "Update default bundle to $cli_version" \
48
48
--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" \
50
50
--draft \
51
51
)
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"
54
54
55
55
- name : Create changelog note
56
56
shell : python
You can’t perform that action at this time.
0 commit comments