Skip to content

Commit

Permalink
fix: correct old references to master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Mar 16, 2021
1 parent 67ab28b commit 74c82f8
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
<img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg" alt="Maintained with lerna">
<img src="https://badgen.net/badge/TypeScript/strict%20%F0%9F%92%AA/blue" alt="Strict TypeScript">
<img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg" alt="Commitizen friendly">
<img src="https://snyk.io/test/github/clowdhaus/aws-github-actions/master/badge.svg" alt="Known Vulnerabilities">
<img src="https://snyk.io/test/github/clowdhaus/aws-github-actions/main/badge.svg" alt="Known Vulnerabilities">
</p>

Collection of GitHub actions for interacting with AWS services.

| Action | Local Action Tests |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| [`clowdhaus/aws-github-actions/awscli@master`](../awscli) | ![AWS Command Line Interface](https://github.com/clowdhaus/aws-github-actions/workflows/awscli/badge.svg) |
| [`clowdhaus/aws-github-actions/cloudfront_invalidate@master`](../cloudfront_invalidate) | ![CloudFront Invalidate](https://github.com/clowdhaus/aws-github-actions/workflows/CloudFront%20Invalidation/badge.svg) |
| [`clowdhaus/aws-github-actions/iam_access_credentials@master`](../iam_access_credentials) | ![IAM Access Credentials](https://github.com/clowdhaus/aws-github-actions/workflows/IAM%20Credentials/badge.svg) |
| [`clowdhaus/aws-github-actions/s3_sync@master`](../s3_sync) | ![S3 Sync](https://github.com/clowdhaus/aws-github-actions/workflows/S3%20Sync/badge.svg) |
| [`clowdhaus/aws-github-actions/awscli@main`](../awscli) | ![AWS Command Line Interface](https://github.com/clowdhaus/aws-github-actions/workflows/awscli/badge.svg) |
| [`clowdhaus/aws-github-actions/cloudfront_invalidate@main`](../cloudfront_invalidate) | ![CloudFront Invalidate](https://github.com/clowdhaus/aws-github-actions/workflows/CloudFront%20Invalidation/badge.svg) |
| [`clowdhaus/aws-github-actions/iam_access_credentials@main`](../iam_access_credentials) | ![IAM Access Credentials](https://github.com/clowdhaus/aws-github-actions/workflows/IAM%20Credentials/badge.svg) |
| [`clowdhaus/aws-github-actions/s3_sync@main`](../s3_sync) | ![S3 Sync](https://github.com/clowdhaus/aws-github-actions/workflows/S3%20Sync/badge.svg) |

## Usage

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/awscli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: awscli
on:
push:
branches:
- master
- main
paths:
- 'awscli/**'
- 'packages/awscli-core/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloudfront_invalidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'CloudFront Invalidation'
on:
push:
branches:
- master
- main
paths:
- 'cloudfront_invalidate/**'
- 'package.json'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iam_access_credentials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'IAM Credentials'
on:
push:
branches:
- master
- main
paths:
- 'iam_access_credentials/**'
- 'package.json'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
branches:
- master
- main
paths:
- 'awscli/**'
- 'cloudfront_invalidate/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/s3_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'S3 Sync'
on:
push:
branches:
- master
- main
paths:
- 's3_sync/**'
- 'packages/awscli-core/**'
Expand Down
8 changes: 4 additions & 4 deletions awscli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Reference - https://docs.aws.amazon.com/cli/latest/reference/index.html#cli-aws
## Usage

```yml
- uses: clowdhaus/aws-github-actions/awscli@master
- uses: clowdhaus/aws-github-actions/awscli@main
with:
# Command passed to awscli, which is infact the service that is the target of
# your invocation <i.e. - ec2, s3, ebs, etc.>
Expand Down Expand Up @@ -47,7 +47,7 @@ Reference - https://docs.aws.amazon.com/cli/latest/reference/index.html#cli-aws
### Execute describe style command with standard json result output

```yml
- uses: clowdhaus/aws-github-actions/awscli@master
- uses: clowdhaus/aws-github-actions/awscli@main
with:
cli-command: ec2
cli-subcommand: describe-dhcp-options
Expand All @@ -57,7 +57,7 @@ Reference - https://docs.aws.amazon.com/cli/latest/reference/index.html#cli-aws
### Execute describe style command with query and text output

```yml
- uses: clowdhaus/aws-github-actions/awscli@master
- uses: clowdhaus/aws-github-actions/awscli@main
with:
cli-command: ec2
cli-subcommand: describe-network-interfaces
Expand All @@ -69,7 +69,7 @@ Reference - https://docs.aws.amazon.com/cli/latest/reference/index.html#cli-aws
### Execute describe style command using output from a prior describe command of ID `net-int-subnet-id`

```yml
- uses: clowdhaus/aws-github-actions/awscli@master
- uses: clowdhaus/aws-github-actions/awscli@main
env:
ACTIONS_RUNNER_DEBUG: true
with:
Expand Down
6 changes: 3 additions & 3 deletions cloudfront_invalidate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The `cloudfront_invalidate` GitHub action creates an invalidation request for an
## Usage

```yml
- uses: clowdhaus/aws-github-actions/cloudfront_invalidate@master
- uses: clowdhaus/aws-github-actions/cloudfront_invalidate@main
with:
# The CloudFront distribution ID
# Required: true
Expand All @@ -39,15 +39,15 @@ The `cloudfront_invalidate` GitHub action creates an invalidation request for an
### Invalidate entire distribution

```yml
- uses: clowdhaus/aws-github-actions/cloudfront_invalidate@master
- uses: clowdhaus/aws-github-actions/cloudfront_invalidate@main
with:
distribution-id: E323PSTTFMI4A7
```

### Invalidate multiple paths

```yml
- uses: clowdhaus/aws-github-actions/cloudfront_invalidate@master
- uses: clowdhaus/aws-github-actions/cloudfront_invalidate@main
with:
distribution-id: E323PSTTFMI4A7
paths: |
Expand Down
8 changes: 4 additions & 4 deletions iam_access_credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The `iam_access_credentials` GitHub action will configure the workflow environme
## Usage

```yml
- uses: clowdhaus/aws-github-actions/iam_access_credentials@master
- uses: clowdhaus/aws-github-actions/iam_access_credentials@main
with:
# AWS Region to send the request to. If defined, this environment variable overrides
# the value for the profile setting region
Expand Down Expand Up @@ -62,7 +62,7 @@ The `iam_access_credentials` GitHub action will configure the workflow environme
### Standard setup of access credentials from GitHub secrets

```yml
- uses: clowdhaus/aws-github-actions/iam_access_credentials@master
- uses: clowdhaus/aws-github-actions/iam_access_credentials@main
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -72,7 +72,7 @@ The `iam_access_credentials` GitHub action will configure the workflow environme
### Use credentials from assumed IAM role

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -84,7 +84,7 @@ The `iam_access_credentials` GitHub action will configure the workflow environme
### Use credentials from assumed IAM role with external ID

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
10 changes: 5 additions & 5 deletions s3_sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Note: The sync action works on directories only, not individual files, and can b
## Usage

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
# Path to local directory to synchronize, starting from project root directory
# Required: true
Expand All @@ -42,7 +42,7 @@ Note: The sync action works on directories only, not individual files, and can b
### Sync to root of S3 bucket

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
local-path: dist/
bucket-name: my-s3-bucket
Expand All @@ -51,7 +51,7 @@ Note: The sync action works on directories only, not individual files, and can b
### Sync to S3 bucket prefix

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
local-path: dist/
bucket-name: my-s3-bucket
Expand All @@ -61,7 +61,7 @@ Note: The sync action works on directories only, not individual files, and can b
### Sync to S3 bucket prefix & delete files not in source

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
local-path: dist/
bucket-name: my-s3-bucket
Expand All @@ -75,7 +75,7 @@ Only syncs `*.js` files in `dist/` directory and delete those no longer found fr
Note: order of args dictates precedence - see [documentation](https://docs.aws.amazon.com/cli/latest/reference/s3/index.html#use-of-exclude-and-include-filters)

```yml
- uses: clowdhaus/aws-github-actions/s3_sync@master
- uses: clowdhaus/aws-github-actions/s3_sync@main
with:
local-path: dist/
bucket-name: my-s3-bucket
Expand Down

0 comments on commit 74c82f8

Please sign in to comment.