Skip to content

Commit 86adf42

Browse files
committed
chore: dump context on gh-delete-branch
1 parent 9510cc9 commit 86adf42

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/gh_delete_branch.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
with:
4242
token: ${{ secrets.TOKEN_GITHUB }}
4343

44-
- name: Delete Branch
45-
shell: bash
46-
run: git push origin --delete ${{ github.ref }}
44+
- name: Dump GitHub context
45+
env:
46+
GITHUB_CONTEXT: ${{ toJSON(github) }}
47+
run: echo "$GITHUB_CONTEXT"
48+
49+
# - name: Delete Branch
50+
# shell: bash
51+
# run: git push origin --delete ${{ github.ref_name }}
52+

.github/workflows/tf_plan_apply.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ permissions:
1515
pull-requests: write
1616

1717
jobs:
18-
context-dump:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Dump GitHub context
22-
env:
23-
GITHUB_CONTEXT: ${{ toJSON(github) }}
24-
run: echo "$GITHUB_CONTEXT"
25-
2618
tofu-plan:
2719
name: 'OpenTofu Plan'
2820
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)