File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -66,17 +66,13 @@ jobs:
6666 - name : Find or create metadata update branch
6767 if : steps.diffcheck.outputs.has_diff == 'true'
6868 id : findbranch
69- env :
70- GH_TOKEN : ${{ steps.otelbot-token.outputs.token }}
7169 run : |
7270 BRANCH_NAME="otelbot/metadata-update-main"
7371 echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
7472 git checkout -B "$BRANCH_NAME"
7573
7674 - name : Commit and push changes
7775 if : steps.diffcheck.outputs.has_diff == 'true'
78- env :
79- GH_TOKEN : ${{ steps.otelbot-token.outputs.token }}
8076 run : |
8177 BRANCH_NAME="${{ steps.findbranch.outputs.branch }}"
8278 git commit -m "chore: update instrumentation list [automated]" || echo "No changes to commit."
@@ -105,7 +101,7 @@ jobs:
105101 - name : Add label to PR
106102 if : steps.createpr.outputs.new_pr == 'true'
107103 env :
108- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
104+ GH_TOKEN : ${{ steps.otelbot-token.outputs.token }}
109105 run : |
110106 BRANCH_NAME="${{ steps.findbranch.outputs.branch }}"
111107 PR_URL=$(gh pr list --state open --head "$BRANCH_NAME" --json url -q '.[0].url')
You can’t perform that action at this time.
0 commit comments