Skip to content

Commit a397475

Browse files
fix merge conflicts (#16)
* fix merge conflicts * fixing merge conflicts again * Refactor for sensitivity * Adds tests Co-authored-by: Zennon Gosalvez <[email protected]>
1 parent 0b552a1 commit a397475

File tree

9 files changed

+77
-4767
lines changed

9 files changed

+77
-4767
lines changed

.github/CONTRIBUTING.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Welcome to the contributing guide
2+
3+
Thank you for investing your time in contributing to our project!
4+
5+
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
6+
7+
## Requirements
8+
9+
Any PR affecting the functionality in the `src` folder must have a corresponding `test`.

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ This GitHub Action (written in JavaScript) allows you to leverage GitHub Actions
88
Create a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#common-workflow) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).
99

1010
### Inputs
11-
None. This action will automatically scan for workflows in the `.github/workflows` directory.
11+
For more information on these inputs, see the [Workflow syntax for GitHub Actions](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepswith)
12+
13+
- `allowlist`: The list of owners or repositories that will be ignored and will not throw an error. Each entry must be on a new line. Optional. Default: `` (deny all). For example,
14+
```yaml
15+
allowlist: |
16+
aws-actions/ # Trust all actions published by aws-actions
17+
docker/login-action # Trust docker's login-action only
18+
```
1219
1320
### Outputs
1421
None. This action will throw an error if it finds GitHub Actions that are not pinned to full length commit SHAs.
@@ -30,7 +37,14 @@ jobs:
3037
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
3138
- name: Ensure SHA pinned actions
3239
uses: zgosalvez/[email protected] # Replace this
40+
with:
41+
allowlist: |
42+
aws-actions/
43+
docker/login-action
3344
```
3445
46+
## Contributing
47+
See [the contributing guide](.github/CONTRIBUTING) for detailed instructions on how to get started with our project.
48+
3549
## License
3650
The scripts and documentation in this project are released under the [MIT License](LICENSE)

action.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ runs:
88
main: 'dist/index.js'
99
branding:
1010
icon: shield
11-
color: gray-dark
11+
color: gray-dark
12+
inputs:
13+
allowlist:
14+
description: 'The list of owners or repositories that will be ignored and will not throw an error. Each entry must be on a new line. Optional. Default: `` (deny all)'

dist/index.js

+18-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)