Skip to content

ci: backport workflow permissions blocks from main to dev - #201

Merged
saqibmanan merged 2 commits into
devfrom
ci/backport-workflow-permissions
Sep 17, 2026
Merged

saqibmanan merged 2 commits into
devfrom
ci/backport-workflow-permissions

Conversation

@saqibmanan

Copy link
Copy Markdown
Contributor

Fixes #196.

Code-scanning autofixes added permissions: contents: read to django-tests.yml and deploy-backend.yml on main only, so those files differed between branches and future releases risked conflicts.

This copies main's versions onto dev: 3 lines per file, nothing else. After it merges, every workflow file is identical on dev and main.

Prod deploys already run with these blocks (e.g. 35215276236), so they don't restrict anything the workflows need.

A code-scanning autofix added it on main only (#191), so the file differed
between branches and the next release would conflict. Fixes #196.
Same drift as django-tests.yml: main has had it since the gating release and
prod deploys run with it.
@saqibmanan
saqibmanan merged commit eef7360 into dev Sep 17, 2026
4 checks passed
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.

1 participant