GitHub Action
Update Secret Action
v1.0.6
Latest version
A GitHub Action to easily update a secret in your repository using strong encryption.
- Securely update secrets in your GitHub repository.
- Uses PyNaCl for encryption.
- Straightforward setup and usage.
name: Update Secret
on:
push:
branches:
- main
jobs:
update_secret:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update Secret
uses: punitkashyup/update-secret-action@v1
with:
repository_owner: ${{ secrets.REPOSITORY_OWNER }}
repository_name: ${{ secrets.REPOSITORY_NAME }}
secret_name: ${{ secrets.SECRET_NAME }}
new_secret_value: ${{ secrets.NEW_SECRET_VALUE }}
github_token: ${{ secrets.GITHUB_TOKEN }}