feat: install extension on CI #1
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
name: Testing and Linting - Create Secret from .env | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "*.md" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install ShellCheck | |
run: sudo apt-get install shellcheck -y | |
- name: Run ShellCheck | |
run: shellcheck gh-env-to-repo | |
creating_secret: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install gh extension | |
run: | | |
gh extension install endersonmenezes/gh-env-to-repo |