Skip to content

Commit 77da27b

Browse files
committed
Another test of old code
1 parent 6bd3c35 commit 77da27b

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/describe-pr.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ jobs:
2222
github_token: ${{ secrets.GITHUB_TOKEN }}
2323
pull_number: ${{ github.event.pull_request.number }}
2424
repo_name: ${{ github.repository }}
25-
custom_guidelines: |
26-
- Always reference Jira ticket numbers in brackets format (example: [ENG-123] or [PLAT-11169])
27-
- Always reference Jira ticket of the PR in the PR description near the top of PR
28-
- Highlight any database migrations included in the changes
29-
- Highlight any backfills included in the changes

.github/workflows/on-demand-describe.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525
pull_number: ${{ github.event.pull_request.number }}
2626
repo_name: ${{ github.repository }}
27+
custom_guidelines: |
28+
- Always reference Jira ticket numbers in brackets format (example: [ENG-123] or [PLAT-11169])
29+
- Always reference Jira ticket of the PR in the PR description near the top of PR
30+
- Highlight any database migrations included in the changes
31+
- Highlight any backfills included in the changes
2732
2833
- name: Remove trigger label
2934
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7

action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ runs:
3434
shell: bash
3535
run: |
3636
if [ -n "$CUSTOM_GUIDELINES" ]; then
37-
echo 'context<<EOF' >> $GITHUB_OUTPUT
38-
echo "$(jq -n --arg guidelines "$CUSTOM_GUIDELINES" '{custom_guidelines: $guidelines}')" >> $GITHUB_OUTPUT
39-
echo 'EOF' >> $GITHUB_OUTPUT
37+
echo "context=$(jq -n --arg guidelines "$CUSTOM_GUIDELINES" '{custom_guidelines: $guidelines}')" >> $GITHUB_OUTPUT
4038
else
4139
echo "context={}" >> $GITHUB_OUTPUT
4240
fi

0 commit comments

Comments
 (0)