We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3431b4a commit 6f25f33Copy full SHA for 6f25f33
.github/workflows/coc-update.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
branches: ['main']
6
paths: ['CODE_OF_CONDUCT.md']
7
+ workflow_call:
8
9
defaults:
10
run:
@@ -12,6 +13,8 @@ defaults:
12
13
jobs:
14
plan-coc-update:
15
runs-on: ubuntu-latest
16
+ permissions:
17
+ contents: read
18
outputs:
19
repo_list: ${{ steps.repo_list.outputs.repo_list }}
20
commit_hash: ${{ steps.commit_hash.outputs.commit_hash }}
@@ -25,6 +28,8 @@ jobs:
25
28
echo "commit_hash=$commit_hash" >> $GITHUB_OUTPUT
26
29
- name: Get list of repositories
27
30
id: repo_list
31
+ env:
32
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
run: |
34
repo_list=$(gh repo list $GITHUB_REPOSITORY_OWNER --no-archived --json nameWithOwner --jq ".[].nameWithOwner")
35
echo "repo_list=$repo_list" >> $GITHUB_OUTPUT
0 commit comments