Make environmental variables applied to config as priority #8
Workflow file for this run
This file contains hidden or 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: Test | |
on: | |
push: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: ap-northeast-1 | |
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_ASSUME_ROLE_NAME }} | |
- name: Install requirments | |
run: | | |
pip install -r requirements.txt | |
- name: Report usage | |
run: | | |
python report.py --use-aws-default-session | |
env: | |
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }} | |
ZULIP_SITE: ${{ secrets.ZULIP_SITE }} | |
ZULIP_EMAIL: ${{ secrets.ZULIP_EMAIL }} | |
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }} | |
ZULIP_TYPE: ${{ secrets.ZULIP_TYPE }} | |
ZULIP_TO: ${{ secrets.ZULIP_TO }} | |
ZULIP_TOPIC: ${{ secrets.ZULIP_TOPIC }} | |
ZULIP_MESSAGE: ${{ secrets.ZULIP_MESSAGE }} |