Skip to content

Fix specification builds - #281

Merged
joshuagl merged 2 commits into
theupdateframework:masterfrom
joshuagl:joshuagl/gh-actions-perms
May 16, 2023
Merged

joshuagl merged 2 commits into
theupdateframework:masterfrom
joshuagl:joshuagl/gh-actions-perms

Conversation

@joshuagl

Copy link
Copy Markdown
Member

Something changed in our GitHub Actions environment (either the platform itself or our organisation's default permissions) since the last specification release such that the build and publish workflow has failed for the most recent change.

This PR is the simplest fix, adding the required permissions for the workflow to succeed.

Since the last release the GitHub Actions environment has changed such
that we now must explicitly grant permissions to actions in order to
make a release.

Signed-off-by: Joshua Lock <[email protected]>
@joshuagl
joshuagl force-pushed the joshuagl/gh-actions-perms branch from 1380d3d to a531332 Compare May 15, 2023 09:14
@joshuagl

Copy link
Copy Markdown
Member Author

Hi @lukpueh, @mnm678, @trishankatdatadog -- I'd appreciate a quick review on this one. Our last set of changes are not reflected in the published spec because the GHA doesn't work without this permission being granted.

Comment thread .github/workflows/release.yml Resolved
lukpueh
lukpueh previously approved these changes May 15, 2023
Explain why we need `contents: write`

Signed-off-by: Joshua Lock <[email protected]>
@joshuagl
joshuagl merged commit fed21b0 into theupdateframework:master May 16, 2023
@joshuagl
joshuagl deleted the joshuagl/gh-actions-perms branch May 16, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants