Add permissions for actions and checks in build_and_deploy_job

pull/1264/head
Julia Muiruri 2 years ago
parent 179ea11193
commit a4964c01bb

@ -11,6 +11,9 @@ on:
jobs: jobs:
build_and_deploy_job: build_and_deploy_job:
permissions:
actions: write
checks: none
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Build and Deploy Job name: Build and Deploy Job

Loading…
Cancel
Save