Skip to content

Commit

Permalink
fix: workflow and doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilVashistha committed Jun 22, 2023
1 parent 4c793e4 commit faaadbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Update Github Secret
uses: NikhilVashistha/update-github-action-secret@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
variable: true
variable_name: 'TEST_VARIABLE'
variable_value: 'This is working'
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Update Github Secret
uses: NikhilVashistha/update-github-action-secret@v1.0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Your github token to allow access to the API
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} # Your github token to allow access to the API
secret_name: 'SECRET_KEY' # Github Secret key name for update
secret_value: 'secret value' # Github Secret value to update
```
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Update Github Secret
uses: NikhilVashistha/update-github-action-secret@v1.0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Your github token to allow access to the API
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} # Your github token to allow access to the API
repo_name: repoName # Github Repository name
repo_owner_name: repoOwnerName # Github Repository Owner name
secret_name: 'SECRET_KEY' # Github Secret key name for update
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Update Github Secret
uses: NikhilVashistha/update-github-action-secret@v1.0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Your github token to allow access to the API
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} # Your github token to allow access to the API
variable: true # To update github repository variable
variable_name: 'VARIABLE_NAME' # Github Repository variable key name for update
variable_value: 'variable value' # Github Repository variable value to update
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Update Github Secret
uses: NikhilVashistha/update-github-action-secret@v1.0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Your github token to allow access to the API
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} # Your github token to allow access to the API
repo_name: repoName # Github Repository name
repo_owner_name: repoOwnerName # Github Repository Owner name
variable: true # To update github repository variable
Expand Down

0 comments on commit faaadbd

Please sign in to comment.