This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
Wtf is it going to do on issue opened #11
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
issues: | |
types: [opened, reopened, closed] | |
jobs: | |
print-secret: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Print secret | |
run: | | |
MY_SECRET="${{ secrets.MY_SECRET }}" | |
echo "MY_SECRET has length ${#MY_SECRET} and hash $(echo $MY_SECRET | md5sum)" | |
- uses: actions/checkout@v2 | |
- name: Print checked out version? | |
run: | | |
git rev-parse HEAD | |