Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ jobs:
dependabot: true
pull-request: ${{ github.event.pull_request.number }}
pull-request-title: ${{ github.event.pull_request.title }}
permissions:
contents: read
id-token: write

lint-build-test:
name: Build, lint, and test
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/update-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
required: false
default: ''

permissions:
contents: read
Comment thread
cursor[bot] marked this conversation as resolved.

jobs:
is-fork-pull-request:
name: Determine whether this issue comment was on a pull request from a fork
Expand All @@ -44,6 +47,8 @@ jobs:
# Early exit if this is a fork, since later steps are skipped for forks.
if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' && inputs.dependabot == false }}
environment: default-branch
permissions:
id-token: write
steps:
- name: Get access token
id: get-token
Expand Down Expand Up @@ -76,6 +81,9 @@ jobs:
environment: default-branch
outputs:
COMMIT_SHA: ${{ steps.commit-sha.outputs.COMMIT_SHA }}
permissions:
contents: read
id-token: write
steps:
- name: Get access token
id: get-token
Expand Down Expand Up @@ -112,6 +120,9 @@ jobs:
environment: default-branch
outputs:
YARN_LOCK_CHANGED: ${{ steps.check-yarn-lock.outputs.YARN_LOCK_CHANGED }}
permissions:
contents: read
id-token: write
Comment thread
Mrtenz marked this conversation as resolved.
steps:
- name: Get access token
id: get-token
Expand Down Expand Up @@ -157,6 +168,9 @@ jobs:
needs:
- prepare
- dedupe-yarn-lock
permissions:
contents: read
id-token: write
steps:
- name: Get access token
id: get-token
Expand Down Expand Up @@ -203,6 +217,9 @@ jobs:
- prepare
- dedupe-yarn-lock
- build
permissions:
contents: read
id-token: write
steps:
- name: Get access token
id: get-token
Expand Down Expand Up @@ -257,6 +274,9 @@ jobs:
- prepare
- dedupe-yarn-lock
- build
permissions:
contents: read
id-token: write
steps:
- name: Get access token
id: get-token
Expand Down Expand Up @@ -314,6 +334,9 @@ jobs:
- dedupe-yarn-lock
- regenerate-lavamoat-policies
- update-examples
permissions:
contents: read
id-token: write
steps:
- name: Get access token
id: get-token
Expand Down
Loading