Skip to content

fix: grant permissions to Formulus build code workflow - #929

Merged
najuna-brian merged 1 commit into
OpenDataEnsemble:devfrom
allennakalema06-web:fix/formulus-ci-permissions
Sep 22, 2026
Merged

najuna-brian merged 1 commit into
OpenDataEnsemble:devfrom
allennakalema06-web:fix/formulus-ci-permissions

Conversation

@allennakalema06-web

Copy link
Copy Markdown
Contributor

Summary

Fixes #927.

The prepare-next-native-build-code job calls the reusable
prepare-next-formulus-build-code.yml workflow, which requires
contents: write and pull-requests: write.

The calling job did not grant these permissions, causing GitHub Actions
workflow validation to fail before the Formulus workflow could start.

This change grants the required permissions to the calling job.

Why these permissions are needed

  • contents: write allows the reusable workflow to push the preparation branch.
  • pull-requests: write allows it to create the preparation pull request.

Testing

  • Ran git diff --check.
  • Verified that the change is limited to the caller job's permission configuration.

@najuna-brian
najuna-brian self-requested a review September 22, 2026 17:58
@najuna-brian

Copy link
Copy Markdown
Member

Hello @allennakalema06-web,
Thanks for this PR.
Can you please comment on the issue requesting it to be assigned to you 😊

@najuna-brian

Copy link
Copy Markdown
Member

GitHub's current rules say an issue can be assigned to:

  • someone with write access to the repository,
  • an organization member with read access,
  • someone who has commented on that issue
    @allennakalema06-web

@allennakalema06-web

allennakalema06-web commented Sep 22, 2026 via email

Copy link
Copy Markdown
Contributor Author

@najuna-brian

Copy link
Copy Markdown
Member

No worries @allennakalema06-web 😊

@najuna-brian najuna-brian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @allennakalema06-web! LGTM. Welcome to the project!

@najuna-brian
najuna-brian merged commit 15c2746 into OpenDataEnsemble:dev Sep 22, 2026
8 checks passed
@allennakalema06-web

Copy link
Copy Markdown
Contributor Author

Thank you, @najuna-brian 😊 I really appreciate the review and the warm welcome. Glad to contribute to the project!

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.

[Formulus] CI startup failure: formulus-android.yml can't call prepare-next-formulus-build-code.yml

2 participants