Skip to content

Commit c72473b

Browse files
committed
remove me commit
Signed-off-by: flouthoc <[email protected]>
1 parent 5cd95bd commit c72473b

File tree

2 files changed

+27
-6
lines changed

2 files changed

+27
-6
lines changed

.github/workflows/opendownstream-pr.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
repository: 'flouthoc/buildah' # The target repository
2525
path: 'buildah' # Checkout into a sub-directory
26-
token: ${{ secrets.VENDOR_TOKEN_PODMANBOT }} Use the PAT for write access
26+
token: ${{ secrets.VENDOR_TOKEN_PODMANBOT }}
2727

2828
- name: 'Vendor Code from this repo to buildah'
2929
run: |
@@ -50,9 +50,9 @@ jobs:
5050
cat go.mod
5151
5252
# Download and verify the module
53-
go mod tidy
54-
go mod vendor
55-
go mod verify
53+
GOWORK=off go mod tidy
54+
GOWORK=off go mod vendor
55+
GOWORK=off go mod verify
5656
5757
echo "Updated go.mod:"
5858
cat go.mod
@@ -64,7 +64,7 @@ jobs:
6464
git config user.email "github-actions[bot]@users.noreply.github.com"
6565
6666
BRANCH_NAME="sync/container-libs-${{ github.event.pull_request.number }}"
67-
git switch -c $BRANCH_NAME
67+
git switch $BRANCH_NAME
6868
6969
git add .
7070
git commit -m "feat: Vendor changes from podmanbot/container-libs#${{ github.event.pull_request.number }}"
@@ -83,12 +83,21 @@ jobs:
8383
SELF_REPO_PR_TITLE: ${{ github.event.pull_request.title }}
8484
run: |
8585
cd buildah
86+
git pull
87+
gh repo set-default flouthoc/buildah
88+
gh repo set-default --view
8689
90+
BRANCH_NAME="sync/container-libs-${{ github.event.pull_request.number }}"
8791
PR_TITLE="Sync: ${{ env.SELF_REPO_PR_TITLE }}"
8892
PR_BODY="This PR automatically vendors changes from [repo-A#${{ env.SELF_REPO_PR_NUMBER }}](${{ env.SELF_REPO_PR_URL }})."
8993
9094
# Check if PR already exists for this branch
91-
EXISTING_PR_URL=$(gh pr list --head ${{ env.BRANCH_NAME }} --json url --jq '.[0].url' 2>/dev/null || echo "")
95+
echo $BRANCH_NAME
96+
gh pr list --head $BRANCH_NAME --json url
97+
EXISTING_PR_URL=$(gh pr list --head $BRANCH_NAME --json url --jq '.[0].url' 2>/dev/null || echo "")
98+
99+
echo "Printing exisiting PR URL"
100+
echo $EXISTING_PR_URL
92101
93102
if [ -n "$EXISTING_PR_URL" ]; then
94103
echo "Found existing PR: $EXISTING_PR_URL"

remove-me

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
dummy
2+
text2
3+
text3
4+
5
5+
6
6+
7
7+
8
8+
9
9+
10
10+
11
11+
12
12+
13

0 commit comments

Comments
 (0)