nvm/.github/workflows/require-allow-edits.yml

22 lines
434 B
YAML
Raw Normal View History

2020-11-07 15:56:55 +08:00
name: Require “Allow Edits”
on: [pull_request_target]
jobs:
_:
permissions:
pull-requests: read
2020-11-07 15:56:55 +08:00
name: "Require “Allow Edits”"
runs-on: ubuntu-latest
steps:
2021-11-22 23:20:50 +08:00
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
api.github.com:443
2020-11-07 15:56:55 +08:00
- uses: ljharb/require-allow-edits@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}