Skip to content

Commit

Permalink
Test context from different workflow level (#42)
Browse files Browse the repository at this point in the history
* Test context from top level

Signed-off-by: Benoit Donneaux <[email protected]>

* Try more events

Signed-off-by: Benoit Donneaux <[email protected]>

* Fix identation

Signed-off-by: Benoit Donneaux <[email protected]>

---------

Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy authored May 31, 2023
1 parent f672b63 commit 97a87e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- 'ssh/**'
- 'src/**'
pull_request:
types: [ opened, synchronize, reopened, closed ]
branches:
- main
paths:
Expand All @@ -19,11 +20,17 @@ on:
- 'src/**'
workflow_dispatch:

env:
PREFIX: ${{ github.repository }}
SUFFIX: _${{ github.event.pull_request.number }}
jobs:
integrate:
name: Integrate
runs-on: ubuntu-latest
steps:
- name: Print suffix and prefix
run: echo "PREFIX+SUFFIX= ${PREFIX}${SUFFIX}"

- name: Get a tmpfs for our secret
id: tmpfs
uses: LeastAuthority/mount-tmpfs-action@v1
Expand Down

0 comments on commit 97a87e6

Please sign in to comment.