Skip to content

Commit 347bdbf

Browse files
heiskrrachmari
andauthored
Update autoupdate-branch.yml (#22937)
* Update autoupdate-branch.yml * remove autoupdate labels (#22971) Co-authored-by: Rachael Sewell <rachmari@github.com>
1 parent 308aa9c commit 347bdbf

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/autoupdate-branch.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Autoupdate branch
22

3-
# **What it does**: Any pull requests with "autoupdate" label will get main branch updates.
4-
# **Why we have it**: Our repo-sync automation relies on it.
5-
# **Who does it impact**: Our ability to support the open-source repository.
3+
# **What it does**: Any pull requests with automerge will get main branch updates.
4+
# **Why we have it**: So we don't have to watch pull requests and click update branch 100x.
5+
# **Who does it impact**: Our health.
66

77
#
88
# This workflow checks all open PRs targeting `main` as their base branch and
9-
# will attempt to update them if they have the `autoupdate` label applied.
9+
# will attempt to update them if they have automerge.
1010
# It is triggered when a `push` event occurs ON the `main` branch (e.g. a PR
1111
# was merged or a force-push was done).
1212
#
@@ -31,6 +31,5 @@ jobs:
3131
- uses: docker://chinthakagodawita/autoupdate-action:v1
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
34-
PR_FILTER: labelled
35-
PR_LABELS: autoupdate
34+
PR_FILTER: auto_merge
3635
MERGE_MSG: "Branch was updated using the 'autoupdate branch' Actions workflow."

.github/workflows/enterprise-dates.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
"Hello! The GitHub Enterprise Server release dates have changed.\n\n
6565
If CI passes, this PR will be auto-merged. :green_heart:\n\n
6666
If CI does not pass or other problems arise, contact #docs-engineering on slack.\n\nThis PR was 🤖-crafted by `.github/workflows/enterprise-dates.yml`. 🧶"
67-
labels: autoupdate
6867
branch: enterprise-server-dates-update
6968
delete-branch: true
7069

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
destination_branch: main
127127
pr_title: 'repo sync'
128128
pr_body: "This is an automated pull request to sync changes between the public and private repos.\n\n:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!"
129-
pr_label: autoupdate,automated-reposync-pr
129+
pr_label: automated-reposync-pr
130130
github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
131131

132132
- name: Find pull request

.github/workflows/update-graphql-files.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
syncs up the GraphQL data in this repo.\n\n
5959
If CI passes, this PR will be auto-merged. :green_heart:\n\n
6060
If CI does not pass or other problems arise, contact #docs-engineering on slack."
61-
labels: autoupdate
6261
branch: graphql-schema-update
6362

6463
- name: Enable GitHub auto-merge

0 commit comments

Comments
 (0)