Skip to content

Commit

Permalink
chore: set GH_TOKEN permissions on the job that only allow the semant…
Browse files Browse the repository at this point in the history
…ic pull request job, that runs with pull_request_target, to have access to read the repository contents and pull-requests contents. The token does not have write permissions and has disabled read permissions on contexts that are not needed for the job (#28749)
  • Loading branch information
AtofStryker authored Jan 19, 2024
1 parent c6b0583 commit ca0891e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
name: "Semantic Pull Request"

# @see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
actions: none
checks: none
# to check out & read the repository
contents: read
deployments: none
id-token: none
issues: none
discussions: none
packages: none
pages: none
# to read pull-request data, including commits/issues linked
pull-requests: read
repository-projects: none
security-events: none
statuses: none
on:
pull_request_target:
types:
Expand Down

5 comments on commit ca0891e

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on ca0891e Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.4/linux-arm64/develop-ca0891ec2a6074f79b17b1000e4fc91d48971d34/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on ca0891e Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.4/linux-x64/develop-ca0891ec2a6074f79b17b1000e4fc91d48971d34/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on ca0891e Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.4/darwin-x64/develop-ca0891ec2a6074f79b17b1000e4fc91d48971d34/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on ca0891e Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.4/darwin-arm64/develop-ca0891ec2a6074f79b17b1000e4fc91d48971d34/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on ca0891e Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.4/win32-x64/develop-ca0891ec2a6074f79b17b1000e4fc91d48971d34/cypress.tgz

Please sign in to comment.