Skip to content

Commit

Permalink
no secret
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jul 17, 2024
1 parent 5370926 commit ac3f6c4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/linters-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ jobs:
get_list_members() {
TEAM="$1"
QUOTE='"'
gh api "/orgs/$GITHUB_REPOSITORY_OWNER/teams/$TEAM/members" -X GET -f per_page=100 --jq "map(.login) | ${QUOTE}${TEAM}=\(tojson)${QUOTE}"
gh api "/orgs/nodejs/teams/$TEAM/members" -X GET -f per_page=100 --jq "map(.login) | ${QUOTE}${TEAM}=\(tojson)${QUOTE}"
}
get_list_members "collaborators" >> "$GITHUB_OUTPUT"
get_list_members "issue-triage" >> "$GITHUB_OUTPUT"
get_list_members "tsc" >> "$GITHUB_OUTPUT"
(
get_list_members "collaborators"
get_list_members "issue-triage"
get_list_members "tsc"
) || true >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN_ || secrets.GITHUB_TOKEN }}
- name: Get modified README
if: github.event_name != 'push'
run: curl "https://patch-diff.githubusercontent.com/raw/$GITHUB_REPOSITORY/pull/${PULL_ID}.diff" | git apply --include=README.md
Expand Down

0 comments on commit ac3f6c4

Please sign in to comment.