Skip to content

Publish Package Metadata [email protected]

Publish Package Metadata [email protected] #4640

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 }}