Job-level permission for action

This commit is contained in:
Ajeet D'Souza 2023-05-07 22:55:51 +05:30
parent 54e9f9aa7a
commit ce8f2395d5

View File

@ -4,11 +4,11 @@ on:
types: [created] types: [created]
schedule: schedule:
- cron: "0 0 * * *" # daily at 00:00 - cron: "0 0 * * *" # daily at 00:00
permissions:
issues: write
jobs: jobs:
no-response: no-response:
if: github.repository == 'ajeetdsouza/zoxide' if: github.repository == 'ajeetdsouza/zoxide'
permissions:
issues: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: lee-dohm/no-response@v0.5.0 - uses: lee-dohm/no-response@v0.5.0