Skip to content

Commit

Permalink
ci(schema): update permissions for auto commit schema changes (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 authored Aug 6, 2024
1 parent cfc8813 commit ed44eac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ jobs:
auto-commit-schemas:
needs: [compare-graphql-schema, compare-openapi-schema, checkout-branch, update-schemas]
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
if: needs.update-schemas.outputs.OPENAPI_STATUS != '0' || needs.update-schemas.outputs.GRAPHQL_STATUS != '0'
steps:
- name: Check out PR branch
Expand Down

0 comments on commit ed44eac

Please sign in to comment.