Update wait-for-secrets.yml #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Harden runnerv2 | |
on: [push, issues, workflow_dispatch] | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
greeting: | |
permissions: | |
issues: write # for actions/first-interaction to comment on first issue | |
pull-requests: write # for actions/first-interaction to comment on first PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@rc | |
with: | |
egress-policy: block | |
allowed-endpoints: | |
github.com:443 | |
api.github.com:443 | |
- uses: actions/first-interaction@1d8459ca65b335265f1285568221e229d45a995e # v1.1.1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: "Message that will be displayed on users' first issue" | |
pr-message: "Message that will be displayed on users' first pull request" | |
- run: curl -X GET https://google.com |