Skip to content

Commit

Permalink
terminate milestone api call (#5864)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Jun 26, 2024
1 parent 1499b30 commit d7c849e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,14 @@ jobs:
with:
ref: ${{ inputs.release_branch }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
aws-region: us-east-1
role-to-assume: ${{ secrets.AWS_ROLE_MARKETPLACE }}

- name: Publish to AWS Marketplace
uses: nginxinc/aws-marketplace-publish@be512a7ae9666098bc4429a1afa27a11be6a3995 # v1.0.3
continue-on-error: true
with:
version: ${{ inputs.nic_version }}
product-id: ${{ secrets[matrix.product_id] }}
Expand Down Expand Up @@ -423,7 +428,7 @@ jobs:
'.[] | select(.title == $version) | .number')
if ! ${{ inputs.dry_run }}; then
gh api --method PATCH -H "Accept: application/vnd.github.v3+json" \
/repos/${{ github.repository }}/milestones/${milestone_number} \
/repos/${{ github.repository }}/milestones/${milestone_number};
else
echo "Skipping closing Github Release milestone, DRY_RUN"
fi
Expand Down

0 comments on commit d7c849e

Please sign in to comment.