Skip to content

Commit

Permalink
fix(ci): resolve issues with the new pull request checks and remove d…
Browse files Browse the repository at this point in the history
…iagnostics

Signed-off-by: Nathan Klick <[email protected]>
  • Loading branch information
nathanklick committed May 31, 2024
1 parent 8bb3497 commit cfde66d
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/flow-pull-request-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,36 +55,18 @@ jobs:
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- name: Check Milestone
if: ${{ github.event.pull_request.milestone == null }}
run: |
echo "::group::Event Data"
echo "${{ toJSON(github.event) }}" | jq .
echo "::endgroup::"
if [ "${{ github.event.pull_request_target.milestone }}" == "null" ] || [ "${{ github.event.pull_request_target.milestone }}" == "" ]; then
echo "Milestone is not set. Failing the workflow."
exit 1
fi
- name: Milestone is set
run: |
echo "Milestone is set."
assignee-check:
name: Assignee Check
runs-on: [ self-hosted, Linux, medium, ephemeral ]

steps:
- name: Check Assignee
if: ${{ github.event.pull_request.assignees == null || github.event.pull_request.assignees[0] == null }}
run: |
echo "::group::Event Data"
echo "${{ toJSON(github.event) }}" | jq .
echo "::endgroup::"
if [ "${{ github.event.pull_request_target.assignee }}" == "null" ] || [ "${{ github.event.pull_request_target.assignee }}" == "" ]; then
echo "Assignee is not set. Failing the workflow."
exit 1
fi
- name: Assignee is set
run: |
echo "Assignee is set."

0 comments on commit cfde66d

Please sign in to comment.