-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
choreBuild, CI/CD or repository tasks (issues/PR maintenance, environments, ...)Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Milestone
Description
Seen while attempting to release version 0.2.2.
Workaround: follow the manual procedure
Workflow runs: https://github.com/process-analytics/bpmn-visualization-R/actions/runs/3533388259
3 attempts, all failed. The last one was run in debug mode, no additional information
Action configuration
Run benjefferies/branch-protection-bot@1.0.7
with:
access_token: ***
enforce_admins: true
branch: main
retries: 5
Error stack
Getting branch protection settings for process-analytics/bpmn-visualization-R
Traceback (most recent call last):
File "/bin/run.py", line 83, in <module>
toggle_enforce_admin(p.parse_args())
File "/bin/run.py", line 22, in toggle_enforce_admin
protection = get_protection(access_token, branch_name, owner, repo_name)
File "/bin/run.py", line 61, in get_protection
protection = branch.protection()
File "/pyroot/lib/python3.7/site-packages/github3/decorators.py", line 31, in auth_wrapper
return func(self, *args, **kwargs)
File "/pyroot/lib/python3.7/site-packages/github3/repos/branch.py", line 73, in protection
json = self._json(resp, 200)
File "/pyroot/lib/python3.7/site-packages/github3/models.py", line 157, in _json
raise exceptions.error_for(response)
github3.exceptions.NotFoundError: 404 Not Found
Metadata
Metadata
Assignees
Labels
choreBuild, CI/CD or repository tasks (issues/PR maintenance, environments, ...)Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)