From ed0704bd5cfedb7a56ce37d6e76e0235fd5f67d0 Mon Sep 17 00:00:00 2001 From: Niko Kangas Date: Wed, 5 Aug 2026 15:08:28 +0200 Subject: [PATCH] qwe --- .gitea/workflows/first.yaml | 2 +- .gitea/workflows/second.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/first.yaml b/.gitea/workflows/first.yaml index 5f4918b..98dab29 100644 --- a/.gitea/workflows/first.yaml +++ b/.gitea/workflows/first.yaml @@ -1,6 +1,6 @@ name: learn actions run-name: ${{github.actor}} is learning actions -on: [push] +on: [pull] jobs: check-bats-version: runs-on: ubuntu-latest diff --git a/.gitea/workflows/second.yaml b/.gitea/workflows/second.yaml index b42c033..eb82545 100644 --- a/.gitea/workflows/second.yaml +++ b/.gitea/workflows/second.yaml @@ -5,8 +5,10 @@ jobs: print-variables_asd: runs-on: ubuntu-latest steps: + env: + SECRET5: ${{ secrets.SECRET1 }} - run: | - if [ -n ${{ secrets.SECRET1 }} ]; then + if [ -n "$SECRET5" ]; then echo "secret is here" else echo "secret missing"