DO NOT MERGE: check secrets #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: Secret checker | |
on: | |
push: | |
pull_request: | |
jobs: | |
checker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check if PYPI_USERNAME exists" | |
env: | |
USERNAME: ${{ secrets.PYPI_USERNAME }} | |
if: ${{ env.USERNAME == '' }} | |
run: | | |
echo "The secret \"PYPI_USERNAME\" has not been set." | |
echo "Please go to \"settings \> secrets \> actions\" to create it." | |
- name: "Check if PYPI_PASSWORD exists" | |
env: | |
PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
if: ${{ env.PASSWORD == '' }} | |
run: | | |
echo "The secret \"PYPI_PASSWORD\" has not been set." | |
echo "Please go to \"settings \> secrets \> actions\" to create it." |