Skip to content

Commit

Permalink
DO NOT MERGE: check secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-seifert committed Apr 12, 2024
1 parent efded3c commit f9c1dd9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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."

0 comments on commit f9c1dd9

Please sign in to comment.