Skip to content

script: Add script to managed required jobs#3702

Merged
mandre merged 2 commits intogophercloud:mainfrom
shiftstack:scripted-required-jobs
Apr 9, 2026
Merged

script: Add script to managed required jobs#3702
mandre merged 2 commits intogophercloud:mainfrom
shiftstack:scripted-required-jobs

Conversation

@stephenfin
Copy link
Copy Markdown
Contributor

@stephenfin stephenfin commented Apr 8, 2026

You cannot do this via the workflow files and doing it via the Web API is tedious and error prone. Add a minimal script to allow us to do this via the REST API.

@kayrus @mandre: You can test this like so:

./script/configure-required-github-jobs --dry-run

You should see the following output:

Required status checks diff:
  + Octavia on OpenStack master
  + Aetos on OpenStack master

Dry-run mode — not applying.

Note that I've only focused on the main branch since the v2 branch doesn't use the merge queue workflow.

You cannot do this via the workflow files and doing it via the Web API
is tedious and error prone. Add a minimal script to allow us to do this
via the REST API.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Assisted-by: Claude Sonnet 4.6
@github-actions github-actions bot added edit:testinfra This PR updates testing infrastructure code semver:patch No API change backport-v2 This PR will be backported to v2 labels Apr 8, 2026
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 8, 2026

Coverage Status

coverage: 63.973%. remained the same — shiftstack:scripted-required-jobs into gophercloud:main

Comment thread script/configure-required-github-jobs Outdated
Comment thread script/configure-required-github-jobs Outdated
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
@mandre mandre enabled auto-merge April 9, 2026 09:38
@mandre mandre added this pull request to the merge queue Apr 9, 2026
Merged via the queue into gophercloud:main with commit c761e77 Apr 9, 2026
64 checks passed
@mandre mandre deleted the scripted-required-jobs branch April 9, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:testinfra This PR updates testing infrastructure code semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants