Skip to content

Commit 1f15ea4

Browse files
rachmariOctomergergithub-actions[bot]
authored
reenable graphql updater (github#16994)
* re-enable graphql updater workflow * remove scheduled run temporarily * lint yaml * re-enable graphql updater workflow * add my pat for test * use my pat for create pr * update peter-evans action * Action ran graphql script"update-files" * use github-token * revert * Action ran graphql script"update-files" (#17000) * update another workflow * add schedule run back Co-authored-by: rachmari <[email protected]> Co-authored-by: Octomerger Bot <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4bcc362 commit 1f15ea4

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/allowed-actions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = [
2525
'pascalgn/automerge-action@c9bd182',
2626
'peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326',
2727
'peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd',
28-
'peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8',
28+
'peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43',
2929
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9',
3030
'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e',
3131
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88',

.github/workflows/remove-unused-assets.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Remove script results file
3434
run: rm -rf ./results.md
3535
- name: Create pull request
36-
uses: peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8
36+
uses: peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43
3737
with:
3838
# need to use a token with repo and workflow scopes for this step
3939
token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}

.github/workflows/update-graphql-files.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ env:
1010

1111
on:
1212
workflow_dispatch:
13-
#schedule:
14-
#- cron: '20 16 * * *' # run every day at 16:20 UTC / 8:20 PST
13+
schedule:
14+
- cron: '20 16 * * *' # run every day at 16:20 UTC / 8:20 PST
1515

1616
jobs:
1717
update_graphql_files:
@@ -37,15 +37,15 @@ jobs:
3737
- name: Run updater scripts
3838
env:
3939
# need to use a token from a user with access to github/github for this step
40-
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
40+
GITHUB_TOKEN: ${{ secrets.RACHMARI_REPO_WORKFLOW }}
4141
run: |
4242
script/graphql/update-files.js
4343
- name: Create pull request
4444
id: create-pull-request
45-
uses: peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8
45+
uses: peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43
4646
with:
4747
# need to use a token with repo and workflow scopes for this step
48-
token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
48+
token: ${{ secrets.GITHUB_TOKEN }}
4949
commit-message: 'Action ran graphql script"update-files"'
5050
title: GraphQL schema update
5151
body:

Gemfile.lock

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ GEM
1010

1111
PLATFORMS
1212
ruby
13+
x86_64-linux
1314

1415
DEPENDENCIES
1516
graphql (= 1.10.6)
1617
graphql-schema_comparator (~> 1.0.0)
1718

1819
BUNDLED WITH
19-
2.1.4
20+
2.2.1

0 commit comments

Comments
 (0)