Skip to content

Commit

Permalink
[release/v1.19.x] Update repo settings (#6862) (#6913)
Browse files Browse the repository at this point in the history
Clean cherry-pick of #6862 to `release/v1.19.x`

(see #6911 for why this can't be backported using automation)
  • Loading branch information
trask authored Oct 19, 2022
1 parent 0f75c7f commit dd112c9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
title=$(gh pr view $NUMBER --json title --jq .title)
branch="backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
branch="opentelemetrybot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
git cherry-pick $commit
git push origin HEAD:$branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
message="Prepare release $VERSION"
branch="prepare-release-${VERSION}"
branch="opentelemetrybot/prepare-release-${VERSION}"
git commit -a -m "$message"
git push origin HEAD:$branch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
message="Prepare release $VERSION"
branch="prepare-release-${VERSION}"
branch="opentelemetrybot/prepare-release-${VERSION}"
git commit -a -m "$message"
git push origin HEAD:$branch
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: |
message="Update version to $NEXT_VERSION"
body="Update version to \`$NEXT_VERSION\`."
branch="update-version-to-${NEXT_VERSION}"
branch="opentelemetrybot/update-version-to-${NEXT_VERSION}"
git commit -a -m "$message"
git push origin HEAD:$branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
run: |
message="Copy change log updates from $GITHUB_REF_NAME"
body="Copy log updates from \`$GITHUB_REF_NAME\`."
branch="copy-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
branch="opentelemetrybot/copy-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
if [[ $VERSION == *.0 ]]; then
if git diff --quiet; then
Expand Down
6 changes: 3 additions & 3 deletions docs/contributing/repository-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ Same settings as above for new release branches (`release/**`), except:
[Nightly overhead benchmark](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/workflows/nightly-benchmark-overhead.yml)
job.

### `dependabot/**/*`
### `dependabot/**/*` and `opentelemetrybot/**/*`

* Require status checks to pass before merging: unchecked

So that dependabot can rebase its PR branches
So the bots can push directly to these branches in order to submit PRs

* Allow force pushes > Everyone

So that dependabot can rebase its PR branches

* Allow deletions: CHECKED

So that dependabot PR branches can be deleted
So that PR branches can be deleted

### `**/**`

Expand Down

0 comments on commit dd112c9

Please sign in to comment.