We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GH_TOKEN
1 parent cdd8af2 commit 871be8fCopy full SHA for 871be8f
.github/workflows/post-merge.yml
@@ -17,14 +17,15 @@ jobs:
17
steps:
18
- uses: actions/checkout@v4
19
- name: Perform analysis and send PR
20
+ env:
21
+ GH_TOKEN: ${{ github.token }}
22
run: |
23
# Get closest bors merge commit
24
PARENT_COMMIT=`git rev-list --author='bors <[email protected]>' -n1 --first-parent HEAD^1`
25
+ echo "Parent: ${PARENT_COMMIT}"
26
27
# Find PR for the current commit
28
HEAD_PR=`gh pr list --search "${{ github.sha }}" --state merged --json number --jq '.[0].number'`
-
- echo "Parent: ${PARENT_COMMIT}"
29
echo "HEAD: ${{ github.sha }} (#${HEAD_PR})"
30
31
cd src/ci/citool
0 commit comments