Skip to content

Commit e446599

Browse files
committed
xLink - Update GitHub Actions workflow to track "master" branch instead of "main"
1 parent b675989 commit e446599

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml renamed to .github/workflows/discord-notifications.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Discord Notifications
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
pull_request:
7-
branches: [main]
7+
branches: [master]
88
types: [opened, reopened, synchronize, closed, ready_for_review, converted_to_draft, edited, labeled, unlabeled, assigned, unassigned, review_requested, review_request_removed]
99
pull_request_review:
1010
types: [submitted, edited, dismissed]
@@ -53,7 +53,7 @@ on:
5353
jobs:
5454
notify:
5555
runs-on: ubuntu-latest
56-
if: ${{ github.ref == 'refs/heads/main' || github.event_name != 'push' }}
56+
if: ${{ github.ref == 'refs/heads/master' || github.event_name != 'push' }}
5757
steps:
5858
- name: Send Discord notification
5959
env:
@@ -67,7 +67,7 @@ jobs:
6767
SERVER_URL: ${{ github.server_url }}
6868
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
6969
run: |
70-
if [ "${GITHUB_REF}" != "refs/heads/main" ]; then
70+
if [ "${GITHUB_REF}" != "refs/heads/master" ]; then
7171
exit 0
7272
fi
7373

0 commit comments

Comments
 (0)