Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- created
pull_request_target:

permissions:
contents: read
pull-requests: write
statuses: write

jobs:
check:
if: >-
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
issue_comment:
types: [created]

permissions:
contents: read
issues: write

env:
FEEDBACK_LBL: pending::feedback
SUPPORT_LBL: pending::support
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@ on:
default: false
type: boolean

permissions:
contents: read

jobs:
sync:
if: '!github.event.repository.fork'
runs-on: ubuntu-slim
permissions:
contents: read
issues: write
env:
GLOBAL: https://raw.githubusercontent.com/conda/infra/main/.github/global.yml
LOCAL: .github/labels.yml
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- id: has_local
uses: andstor/file-existence-action@558493d6c74bf472d87c84eab196434afc2fa029 # v3.1.0
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types:
- opened

permissions:
contents: read

jobs:
add_to_project:
if: '!github.event.repository.fork'
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
types:
- created

permissions:
contents: read

jobs:
update:
if: >-
Expand All @@ -29,6 +32,10 @@ jobs:
)
)
runs-on: ubuntu-slim
permissions:
contents: write
pull-requests: write
issues: write
steps:
- if: github.event_name == 'issue_comment'
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
Expand All @@ -40,9 +47,11 @@ jobs:

- if: github.event.comment.body == '@conda-bot render'
name: Configure git origin
env:
PR_API_URL: ${{ github.event.issue.pull_request.url }}
run: |
echo REPOSITORY=$(curl --silent ${{ github.event.issue.pull_request.url }} | jq --raw-output '.head.repo.full_name') >> $GITHUB_ENV
echo REF=$(curl --silent ${{ github.event.issue.pull_request.url }} | jq --raw-output '.head.ref') >> $GITHUB_ENV
echo REPOSITORY=$(curl --silent "$PR_API_URL" | jq --raw-output '.head.repo.full_name') >> $GITHUB_ENV
echo REF=$(curl --silent "$PR_API_URL" | jq --raw-output '.head.ref') >> $GITHUB_ENV

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand Down
Loading