Skip to content

Conversation

johnpryan
Copy link
Contributor

Write permissions are needed so that actions-gh-pages can commit to the gh-pages branch.

To verify, I restricted the permissions, and loosened them in the YAML to simulate the configuration flutter/samples uses:

Screen Shot 2021-11-01 at 4 08 27 PM

Example run from my fork of this repo: https://github.com/johnpryan/flutter_samples/runs/4073943383

Resolves #914

@google-cla google-cla bot added the cla: yes Contributor license agreement signed by all authors label Nov 1, 2021
@johnpryan johnpryan merged commit 308c6ff into flutter:master Nov 2, 2021
@johnpryan johnpryan deleted the workflow-permissions branch January 5, 2022 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor license agreement signed by all authors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build-and-deploy failing on PR submission
2 participants