File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 commit-message : auto cleanup sources
7676 body : Looks like someone forgot to run ./scripts/cleanup-on-push-to-main.sh before committing. I did it for them :)
7777 delete-branch : true
78- token : ${{ secrets.AUTO_PR_TOKEN }}
78+ branch- token : ${{ secrets.AUTO_PR_TOKEN }}
7979 push-to-fork : ${{ vars.AUTO_PR_FORK_NAME != '' && vars.AUTO_PR_FORK_NAME || secrets.AUTO_PR_FORK_NAME }}
80-
81- - name : set reviewer
82- if : ${{ steps.check-collaborator.outputs.reviewer != '' && steps.check-collaborator.outputs.reviewer != null && steps.create-pr.outputs.pull-request-operation == 'created' }}
83- run : |
84- repo="${{ github.repository }}"
85- status=$(curl -L -s -o /dev/null -w '%{http_code}' \
86- -X POST \
87- -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
88- -H "Accept: application/vnd.github+json" \
89- -H "X-GitHub-Api-Version: 2022-11-28" \
90- https://api.github.com/repos/$repo/pulls/${{steps.create-pr.outputs.pull-request-number}}/requested_reviewers \
91- -d '{"reviewers":["${{ steps.check-collaborator.outputs.reviewer }}"]}'
92- )
93- echo "status $status"
94- [ "$status" = "201" ]
80+ reviewers : ${{ steps.check-collaborator.outputs.reviewer }}
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ function customRunShellcheck() {
2727 declare srcDir=" $scriptsDir /../src"
2828
2929 # shellcheck disable=SC2034 # is passed by name to runShellcheck
30- declare -a dirs=(" $scriptsDir " )
31- declare sourcePath=" $srcDir :$scriptsDir :$dir_of_tegonal_scripts "
32- runShellcheck dirs " $sourcePath "
30+ declare -a dirs=(" $scriptsDir " )
31+ declare sourcePath=" $srcDir :$scriptsDir :$dir_of_tegonal_scripts "
32+ runShellcheck dirs " $sourcePath "
3333
3434 local -r gh_commons_dir=" $scriptsDir /../.gt/remotes/tegonal-gh-commons"
3535 logInfo " analysing $gh_commons_dir /pull-hook.sh"
You can’t perform that action at this time.
0 commit comments