Update Hugo modules #5234
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 PR | |
on: | |
pull_request: | |
types: | |
- closed | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: read # This is required for actions/checkout | |
jobs: | |
do_cleanup: | |
name: Do cleanup | |
runs-on: ubuntu-latest | |
env: | |
GOPATH: ${{ github.workspace }}/go | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19.x | |
- name: Configure Git | |
run: | | |
git config --global url."https://${{ secrets.PULUMI_BOT_TOKEN }}:[email protected]/pulumi/pulumi-hugo-internal".insteadOf "https://github.com/pulumi/pulumi-hugo-internal" | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: arn:aws:iam::388588623842:role/ContinuousDelivery | |
role-session-name: docs-cleanup | |
role-duration-seconds: 7200 | |
aws-region: us-west-2 | |
- name: Remove unused resources | |
run: make ci_pull_request_closed | |
env: | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |