Skip to content

AWS Security Hub Connector invalid ELF header error #3818

AWS Security Hub Connector invalid ELF header error

AWS Security Hub Connector invalid ELF header error #3818

name: Slash Command Dispatch - Publish To Partner Center
env:
REPO_OWNER: "${{ vars.REPO_OWNER }}"
REPO_NAME: "${{ vars.REPO_NAME }}"
on:
issue_comment:
types: [created]
pull_request:
types: [ closed ]
jobs:
checkAutomatedPR:
if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork && github.event.issue.pull_request && contains(github.event.comment.body, '/partnercenter') }}
uses: ./.github/workflows/checkAutomatedPR.yaml
isWorkflowRunAllowedToUser:
if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork && github.event.issue.pull_request && contains(github.event.comment.body, '/partnercenter') }}
uses: ./.github/workflows/allowedWorkflowRun.yaml
pullRequestStatus:
if: ${{ !github.event.pull_request.head.repo.fork && github.event.issue.pull_request && contains(github.event.comment.body, '/partnercenter') }}
uses: ./.github/workflows/pullRequestStatus.yaml
slashCommandDispatchPartnerCenterPublish:
runs-on: ubuntu-latest
needs: [isWorkflowRunAllowedToUser, pullRequestStatus, checkAutomatedPR]
if: ${{ success() && needs.isWorkflowRunAllowedToUser.outputs.isWorkflowRunAllowed == 'True' && needs.pullRequestStatus.outputs.isPullRequestMerged == 'True' && needs.checkAutomatedPR.outputs.isAutomatedPR == 'False' && !github.event.pull_request.head.repo.fork}}
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@67dfeb76529b35541a7c536976cba367cd2d364b
with:
commands: partnercenter
repository: ${{env.REPO_OWNER}}/${{env.REPO_NAME}}
issue-type: pull-request
reactions: false