Skip to content

Commit 020a4a8

Browse files
authored
Re-enable syncing for nginx/winget-pkgs and mint token for nginx org (#119)
1 parent 06255ff commit 020a4a8

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎.github/workflows/sync.yml‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ jobs:
7777
secret-names: nginx-bot-nic-sync-jobs-app-client-id,nginx-bot-nic-sync-jobs-app-private-key
7878
env-names: APP_ID,APP_PRIVATE_KEY
7979

80-
# - name: Mint token for nginx org
81-
# id: nginx-token
82-
# uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
83-
# with:
84-
# client-id: ${{ env.APP_ID }}
85-
# private-key: ${{ env.APP_PRIVATE_KEY }}
86-
# owner: nginx
87-
# repositories: winget-pkgs
80+
- name: Mint token for nginx org
81+
id: nginx-token
82+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
83+
with:
84+
client-id: ${{ env.APP_ID }}
85+
private-key: ${{ env.APP_PRIVATE_KEY }}
86+
owner: nginx
87+
repositories: winget-pkgs
8888

8989
- name: Mint token for nginxinc org
9090
id: nginxinc-token
@@ -115,10 +115,10 @@ jobs:
115115
env:
116116
GH_TOKEN: ${{ steps.bot-token.outputs.token }}
117117

118-
# - name: Sync nginx/winget-pkgs
119-
# run: gh repo sync nginx/winget-pkgs
120-
# env:
121-
# GH_TOKEN: ${{ steps.nginx-token.outputs.token }}
118+
- name: Sync nginx/winget-pkgs
119+
run: gh repo sync nginx/winget-pkgs
120+
env:
121+
GH_TOKEN: ${{ steps.nginx-token.outputs.token }}
122122

123123
- name: Sync nginxinc/kubernetes-json-schema
124124
run: gh repo sync nginxinc/kubernetes-json-schema

0 commit comments

Comments
 (0)