Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 416 Bytes

setting-permissions-specific-jobs-example.md

File metadata and controls

14 lines (11 loc) · 416 Bytes

This example shows permissions being set for the GITHUB_TOKEN that will only apply to the job named stale. Write access is granted for the issues and pull-requests permissions. All other permissions will have no access.

jobs:
  stale:
    runs-on: ubuntu-latest

    permissions:
      issues: write
      pull-requests: write

    steps:
      - uses: {% data reusables.actions.action-stale %}