fix: cloudwatch-metrics - update filters for MetricsStream resource #77
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: Publish Cloudformation Templates | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
jobs: | |
publish-templates: | |
name: Publish CloudFormation Templates | |
runs-on: ubuntu-latest | |
# These permissions are needed to interact with GitHub's OIDC Token endpoint. | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v1-node16 | |
with: | |
aws-region: us-east-1 | |
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }} | |
role-duration-seconds: 900 # 15min - lowest possible value | |
- name: Publish Templates - PRs | |
id: publish_prs | |
run: make publish-templates folder=prs version=$PR_NUMBER | |
if: github.event_name == 'pull_request' | |
- name: Sync Templates - Latest | |
id: publish_latest | |
run: make publish-templates folder=latest | |
if: github.event_name == 'push' |