Skip to content

Prepare 1.3.2 release #246

Prepare 1.3.2 release

Prepare 1.3.2 release #246

Workflow file for this run

name: Notify owners about new event
on:
pull_request_target:
types: [opened, reopened]
issues:
types: [opened, reopened]
jobs:
build:
if: ${{ github.repository == "aws/aws-nitro-enclaves-cli" }}

Check failure on line 12 in .github/workflows/event.yml

View workflow run for this annotation

GitHub Actions / Notify owners about new event

Invalid workflow file

The workflow is not valid. .github/workflows/event.yml (Line: 12, Col: 9): Unexpected symbol: '"aws/aws-nitro-enclaves-cli"'. Located at position 22 within expression: github.repository == "aws/aws-nitro-enclaves-cli"
runs-on: ubuntu-latest
steps:
- name: if_pr
if: github.event.pull_request
run: |
echo "EVENT_TYPE=PR" >> $GITHUB_ENV
echo "EVENT_URL=${{ github.event.pull_request.html_url }}" >> $GITHUB_ENV
- name: if_issue
if: github.event.issue
run: |
echo "EVENT_TYPE=issue" >> $GITHUB_ENV
echo "EVENT_URL=${{ github.event.issue.html_url }}" >> $GITHUB_ENV
- name: notify
run: |
curl -d '{ "type": "${{ env.EVENT_TYPE }}", "url": "${{ env.EVENT_URL }}" }' ${{ secrets.EVENT_WEBHOOK_URL }}