diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 4f6cbfe..4c32c19 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -1,10 +1,22 @@ name: Named workflow -on: [push] + +on: + push: + branches: ["main"] + jobs: test: runs-on: docker + steps: - - uses: https://code.forgejo.org/actions/checkout@v4 - - run: echo All Good - - run: ls -lah . - - run: pwd \ No newline at end of file + - name: Setup repo + uses: https://code.forgejo.org/actions/checkout@v4 + + - name: Testing runner + run: echo All Good + + - name: Testing local fs + run: ls -lah . + + - name: Testing working directory + run: pwd \ No newline at end of file