Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add merge/upstream to the list of branches #76

Merged
merged 4 commits into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: replace-references
on:
pull_request:
push:
branches: [merge/repo-sync]
branches: [merge/repo-sync, merge/upstream]

jobs:
replace_references:
Expand All @@ -19,13 +19,13 @@ jobs:
id: extract_branch
- name: Print branch name
if: github.event_name == 'pull_request'
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF})" >> "$GITHUB_ENV"
run: echo "BRANCH_NAME=$(echo ${GITHUB_BASE_REF})" >> "$GITHUB_ENV"
- run: bash -x ./.github/workflows/scripts/set_refs.sh $BRANCH_NAME
- run: git status
- uses: gr2m/create-or-update-pull-request-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: "merge/repo-sync"
branch: $BRANCH_NAME
author: "Pablo Orviz <[email protected]>"
commit-message: "Update references"
Loading