Skip to content

Commit c726ec9

Browse files
authored
fix: github.ref invalid on slash commands (#12)
1 parent feda7b4 commit c726ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ runs:
159159
# sections in the logs.
160160
shell: bash
161161
run: |
162+
# Printing Pre-Run Marker
162163
echo "------------------------------------"
163164
echo "------------------------------------"
164165
echo "-- Running Command: 'poe ${{ steps.resolve-command.outputs.command }}' --"
@@ -174,6 +175,7 @@ runs:
174175
if: always()
175176
shell: bash
176177
run: |
178+
# Printing Post-Run Marker
177179
echo "------------------------------------"
178180
echo "------------------------------------"
179181
echo "-- Execution Completed: 'poe ${{ steps.resolve-command.outputs.command }}' --"
@@ -186,8 +188,6 @@ runs:
186188
if: >
187189
inputs.no-commit != 'true'
188190
&& inputs.pr
189-
&& github.ref != 'refs/heads/master'
190-
&& github.ref != 'refs/heads/main'
191191
with:
192192
commit_message: "Auto-committed changes from Poe command `${{ steps.resolve-command.outputs.command }}`"
193193
commit_user_name: Octavia Squidington III

0 commit comments

Comments
 (0)