Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWF committed Nov 28, 2023
1 parent 189558f commit 8b26c7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/label-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
- name: foobar
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo $GITHUB_CONTEXT | jq
TOKEN: ${{ github.token }}
run: echo $GITHUB_CONTEXT | jq && echo $TOKEN
- run: gh pr edit ${{ github.event.pull_request.html_url }} --add-label "$LABELS"
env:
GITHUB_TOKEN: ${{ secrets.token }}
GITHUB_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
LABELS: libcxx-stage3-tests
Expand Down
2 changes: 1 addition & 1 deletion get-email/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
def get_commits():
headers = {
'Accept': 'application/vnd.github+json',
'Authorization': 'Bearer ',
'Authorization': 'Bearer {}'.format(os.environ['GITHUB_TOKEN']),
'X-GitHub-Api-Version': '2022-11-28'
}
rich.print(os.environ['PULL_REQUEST_COMMITS_HREF'])
Expand Down

0 comments on commit 8b26c7a

Please sign in to comment.