Skip to content

Commit

Permalink
Merging 549f8b3 into trunk-temp/pr-36/eb295761-6e23-4059-8ef7-000f7ec…
Browse files Browse the repository at this point in the history
…92575
  • Loading branch information
trunk-staging-io[bot] authored Jun 18, 2024
2 parents 7c81f06 + 549f8b3 commit 80157bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/pr_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
# This workflow contains a single job called "build"
build:
if: startsWith(github.head_ref, 'trunk-merge/')
if: startsWith(github.head_ref, 'trunk-merge/')

# The type of runner that the job will run on
runs-on: ubuntu-latest
Expand All @@ -24,5 +24,12 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Run Tests
run: ./sleep.sh
- name: Possibly fail
id: possibly_fail
uses: andstor/file-existence-action@v1
with:
files: workspace/target_2/another-added-file.txt

- name: Fail
if: steps.possibly_fail.outputs.files_exists == 'true'
run: exit 1
1 change: 1 addition & 0 deletions workspace/target_2/another-added-file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
More text!

0 comments on commit 80157bd

Please sign in to comment.