[HOLD for payment 2024-10-16] [$250] Expensify Card - On report fraud page, error does not redirect and can not be closed #93857
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ProposalPolice™ - Issue Comment Workflow | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
proposal-police-workflow: | |
runs-on: ubuntu-latest | |
if: "!contains(fromJSON('[\"OSBotify\", \"imgbot[bot]\", \"melvin-bot[bot]\"]'), github.actor)" | |
steps: | |
- uses: actions/checkout@v4 | |
# Checks if the comment is created and follows the template OR | |
# if the comment is edited and if proposal template is followed. | |
# Action type logic can be found in the script files. | |
- name: Run ProposalPolice™ Comment Check Script | |
uses: ./.github/actions/javascript/proposalPoliceComment | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PROPOSAL_POLICE_API_KEY: ${{ secrets.PROPOSAL_POLICE_API_KEY }} | |
PROPOSAL_POLICE_ASSISTANT_ID: ${{ secrets.PROPOSAL_POLICE_ASSISTANT_ID }} |