Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jomendez/changed-files-action
https://github.com/jomendez/changed-files-action
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jomendez/changed-files-action
- Owner: jomendez
- License: mit
- Created: 2021-04-23T18:44:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T21:12:49.000Z (over 3 years ago)
- Last Synced: 2024-10-19T20:14:39.907Z (26 days ago)
- Language: TypeScript
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install, Build, Lint, Test, and Package
Make sure to do the following before checking in any code changes.
```bash
$ yarn
$ yarn all
```# Test
```bash
yarn test
```# Access tocken for private repos
example of workflow yml file
```
jobs:test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Private repo action
repository: jomendez/changed-files-action-private # private repo within the same organization
ref: master
token: ${{ secrets.MY_ACCESS_TOKEN }} # `MY_ACCESS_TOKEN` is a secret that contains your PAT to clone that private repo
- name: Run the private action
uses: ./
```
# How to create a Personal Access Token (PAT)[https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)
[https://stackoverflow.com/questions/57685065/how-to-set-secrets-in-github-actions](https://stackoverflow.com/questions/57685065/how-to-set-secrets-in-github-actions)