-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from saadmk11/naming-update
Fix inconsistent naming
- Loading branch information
Showing
5 changed files
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Version: v0.5.0 | ||
|
||
* [#1](https://github.com/saadmk11/github-action-upgrade/pull/1): Create LICENSE | ||
* [#2](https://github.com/saadmk11/github-action-upgrade/pull/2): Add ignore option to ignore particular action updates | ||
* [#3](https://github.com/saadmk11/github-action-upgrade/pull/3): Add documentation | ||
* [#4](https://github.com/saadmk11/github-action-upgrade/pull/4): Add Changelog CI | ||
* [#1](https://github.com/saadmk11/github-actions-version-updater/pull/1): Create LICENSE | ||
* [#2](https://github.com/saadmk11/github-actions-version-updater/pull/2): Add ignore option to ignore particular action updates | ||
* [#3](https://github.com/saadmk11/github-actions-version-updater/pull/3): Add documentation | ||
* [#4](https://github.com/saadmk11/github-actions-version-updater/pull/4): Add Changelog CI |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
## GitHub Action Version Updater | ||
## GitHub Actions Version Updater | ||
|
||
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/saadmk11/github-action-upgrade?style=flat-square)](https://github.com/saadmk11/github-action-upgrade/releases/latest) | ||
[![GitHub](https://img.shields.io/github/license/saadmk11/github-action-upgrade?style=flat-square)](https://github.com/saadmk11/github-action-upgrade/blob/main/LICENSE) | ||
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/saadmk11/github-actions-version-updater?style=flat-square)](https://github.com/saadmk11/github-actions-version-updater/releases/latest) | ||
[![GitHub](https://img.shields.io/github/license/saadmk11/github-actions-version-updater?style=flat-square)](https://github.com/saadmk11/github-actions-version-updater/blob/main/LICENSE) | ||
[![GitHub Marketplace](https://img.shields.io/badge/Get%20It-on%20Marketplace-orange?style=flat-square)](https://github.com/marketplace/actions/github-action-updater) | ||
[![GitHub stars](https://img.shields.io/github/stars/saadmk11/github-action-upgrade?color=success&style=flat-square)](https://github.com/saadmk11/github-action-upgrade/stargazers) | ||
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/saadmk11/github-action-upgrade/Changelog%20CI?label=Changelog%20CI&style=flat-square) | ||
[![GitHub stars](https://img.shields.io/github/stars/saadmk11/github-actions-version-updater?color=success&style=flat-square)](https://github.com/saadmk11/github-actions-version-updater/stargazers) | ||
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/saadmk11/github-actions-version-updater/Changelog%20CI?label=Changelog%20CI&style=flat-square) | ||
|
||
**GitHub Action Version Updater** is GitHub Action that is used to **update other GitHub Actions** in a Repository | ||
**GitHub Actions Version Updater** is GitHub Action that is used to **update other GitHub Actions** in a Repository | ||
and create a **pull request** with the updates. It is an automated dependency updater similar to GitHub's **Dependabot**, | ||
but for GitHub Actions. | ||
|
||
### How Does It Work: | ||
|
||
* GitHub Action Version Updater first goes through all the **workflows** | ||
* GitHub Actions Version Updater first goes through all the **workflows** | ||
in a repository and **checks for updates** for each of the action used in those workflows. | ||
|
||
* If an update is found and if that action is **not ignored** then the workflows are updated | ||
|
@@ -27,11 +27,11 @@ but for GitHub Actions. | |
We recommend running this action on a [`schedule`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#schedule) | ||
event or a [`workflow_dispatch`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch) event. | ||
|
||
To integrate `GitHub Action Version Updater` on your repository, create a `YAML` file | ||
To integrate `GitHub Actions Version Updater` on your repository, create a `YAML` file | ||
inside `.github/workflows/` directory (`.github/workflows/updater.yaml`) add the following into the file: | ||
|
||
```yaml | ||
name: GitHub Action Version Updater | ||
name: GitHub Actions Version Updater | ||
|
||
# Controls when the action will run. | ||
on: | ||
|
@@ -51,16 +51,16 @@ jobs: | |
# Access token with `workflow` scope is required | ||
token: ${{ secrets.WORKFLOW_SECRET }} | ||
|
||
- name: Run GitHub Action Updater | ||
uses: saadmk11/github-action-upgrade@v0.5.0 | ||
- name: Run GitHub Actions Version Updater | ||
uses: saadmk11/github-actions-version-updater@v0.5.0 | ||
with: | ||
# Optional, This will be used to configure git | ||
# defaults to `github-actions[bot]` if not provided | ||
committer_username: 'test' | ||
committer_email: '[email protected]' | ||
# Access token with `workflow` scope is required | ||
token: ${{ secrets.WORKFLOW_SECRET }} | ||
# Do not upgrade these actions (Optional) | ||
# Do not update these actions (Optional) | ||
# You need to add JSON array inside a string | ||
# because GitHub Actions does not yet allow `Lists` as input | ||
ignore: '["actions/checkout@v2", "actions/cache@v2"]' | ||
|
@@ -75,9 +75,9 @@ with **repo** and **workflow** scope and pass it to the action. | |
|
||
To know more about how to pass a secret to GitHub actions you can [Read GitHub Docs](https://docs.github.com/en/actions/reference/encrypted-secrets) | ||
|
||
### Demo: | ||
### GitHub Actions Version Updater in Action: | ||
|
||
![GitHub Action Updater](https://user-images.githubusercontent.com/24854406/113888349-15dbdc00-97e4-11eb-91a6-622828455d1f.gif) | ||
![GitHub Actions Version Updater Demo](https://user-images.githubusercontent.com/24854406/113888349-15dbdc00-97e4-11eb-91a6-622828455d1f.gif) | ||
|
||
|
||
### License | ||
|
This file contains 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
This file contains 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