Skip to content

Commit 7c1c889

Browse files
committed
add login step using scoped token
1 parent 9f37be2 commit 7c1c889

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/sync.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- name: Display information about github-org-manager
2121
run: gh-org-mgr --version
2222
# Only effectively sync on main branch
23+
- name: Configure application, add login credentials
24+
run: sed -i "s|__GITHUB_TOKEN__|${{ secrets.GTHB_TOKEN }}|" app.yaml
2325
- name: Synchronise settings with github-org-manager
2426
# if: github.ref == 'refs/heads/main'
2527
run: gh-org-mgr -c . --dry

app.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# ------------------------------------------------------------------------------
44

55
# Personal Oauth access token with required scopes
6+
# The current token, stored as repository secret, is owned by @mxmehl and will expire on 2025-05-02
67
github_token: __GITHUB_TOKEN__

0 commit comments

Comments
 (0)