Publish Package Metadata [email protected] #5162
Workflow file for this run
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: Close pull request | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
cleanup: | |
# Only run this job for events that originate on this repository. | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
name: Find and remove buckets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out branch | |
uses: actions/checkout@v4 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-west-2 | |
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }} | |
role-session-name: PullRequestCleanupSession | |
- name: Find and remove buckets | |
run: make ci-pull-request-closed | |
env: | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |