-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[actions] add step security runner #2659
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,12 @@ jobs: | |
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: step-security/harden-runner@v1 | ||
with: | ||
allowed-endpoints: | ||
github.com:443 | ||
nodejs.org:443 | ||
registry.npmjs.org:443 | ||
- uses: actions/checkout@v2 | ||
- uses: ljharb/actions/node/install@main | ||
name: 'nvm install ${{ matrix.node-version }} && npm install' | ||
|
@@ -20,6 +26,14 @@ jobs: | |
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: step-security/harden-runner@v1 | ||
with: | ||
allowed-endpoints: | ||
ghcr.io:443 | ||
github.com:443 | ||
pkg-containers.githubusercontent.com:443 | ||
nodejs.org:443 | ||
registry.npmjs.org:443 | ||
- uses: actions/checkout@v2 | ||
- uses: ljharb/actions/node/install@main | ||
name: 'nvm install ${{ matrix.node-version }} && npm install' | ||
|
@@ -32,6 +46,12 @@ jobs: | |
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: step-security/harden-runner@v1 | ||
with: | ||
allowed-endpoints: | ||
github.com:443 | ||
nodejs.org:443 | ||
registry.npmjs.org:443 | ||
- uses: actions/checkout@v2 | ||
- uses: ljharb/actions/node/install@main | ||
name: 'nvm install ${{ matrix.node-version }} && npm install' | ||
|
@@ -44,6 +64,10 @@ jobs: | |
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: step-security/harden-runner@v1 | ||
with: | ||
allowed-endpoints: | ||
github.com:443 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for example, the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I understand what you are saying, and that would be ideal. I wrote about this in the comment above. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ** |
||
- uses: actions/checkout@v2 | ||
- name: check tests filenames | ||
run: ./rename_test.sh --check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/toc.yml