Tag: GitHub Actions
-
GitHub Actions: Map Key/Values Based on Input
Let’s say we have an input in our GitHub Actions workflow for the environment like the one below. Based on the environments we selected, we need to pass the below three key/values to a job, let’s call it the Deploy job. Three values are: GitHub Actions doesn’t have a native feature for value mapping, so…
-
Customize GitHub Actions OIDC Claim for AWS IAM Authentication
OIDC subject claim GitHub Actions OIDC token contains useful claims that you can check in Understanding the OIDC token. But AWS only supports what’s included in sub claim and cannot use any other claims in the token. Example subject claims such as branch, pull_request, and environment. The default subject claim is very limited and if…