Skip to content

Commit 45eedd4

Browse files
authored
fix: simplifies wf and adds debugging. (#176)
1 parent fee7ce3 commit 45eedd4

File tree

1 file changed

+2
-39
lines changed

1 file changed

+2
-39
lines changed

.github/workflows/dist-pr.yml

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -23,43 +23,6 @@ jobs:
2323
create-pr:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- name: Checkout code
27-
uses: actions/checkout@v3
28-
with:
29-
ref: ${{ github.event.after }}
30-
token: ${{ secrets.GH_MERGE_TOKEN }}
31-
32-
- name: Debug - Print Event Payload
33-
run: |
34-
echo "GitHub Event Name: ${{ github.event_name }}"
35-
echo "GitHub Ref: ${{ github.ref }}"
36-
echo "GitHub After Commit: ${{ github.event.after }}"
37-
echo "GitHub Repository: ${{ github.repository }}"
38-
39-
- name: Debug - List Branches
40-
run: |
41-
git branch -a
42-
43-
- name: Create Pull Request
44-
uses: peter-evans/create-pull-request@v5
45-
with:
46-
token: ${{ secrets.GH_MERGE_TOKEN }}
47-
commit-message: 'chore: automated output update (dist)'
48-
title: 'chore: automated output update (dist)'
49-
body: 'This PR contains updated build output from the dist branch.'
50-
branch: 'dist-to-main-pr'
51-
base: main
52-
labels: |
53-
automated pr
54-
dist-update
55-
draft: false
56-
57-
- name: Debug - List Branches After PR Creation (Attempt)
58-
run: |
59-
git branch -a
60-
61-
- name: Debug - List Pull Requests
26+
- name: Debug - Triggered!
6227
run: |
63-
gh pr list --state all --base main
64-
env:
65-
GH_TOKEN: ${{ secrets.GH_MERGE_TOKEN }}
28+
echo "dist-pr.yml workflow triggered! Ref: ${{ github.ref }}"

0 commit comments

Comments
 (0)