Skip to content

Commit bd5ee60

Browse files
committed
fix(safe-settings): allow GitLab CI to bypass status checks for releasing
* Releases are currently managed using GitLab CI so GitHub doesn't know whether the status checks have passed or not (on GitLab). This bypass allows `semantic-release` to push to the `master` branch using the `saltstack-formulas-github` user token.
1 parent 6e3f3c5 commit bd5ee60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

safe-settings/suborgs/rulesets.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ rulesets:
1919
- name: Require status checks before updating the default branch
2020
target: branch
2121
enforcement: active
22+
bypass_actors:
23+
# Bypass needed for `release-automation-bots` to allow for
24+
# GitLab CI-managed release
25+
- actor_id: 16592346
26+
actor_type: Team
27+
bypass_mode: always
2228
conditions:
2329
ref_name:
2430
include:

0 commit comments

Comments
 (0)