Skip to content

Commit

Permalink
Merge pull request #100 from sonomirco/dev/mibi/daje
Browse files Browse the repository at this point in the history
Daje
  • Loading branch information
sonomirco authored Dec 11, 2023
2 parents 817dfd8 + 97fb8bd commit cbb7042
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check-for-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
validate:
runs-on: ubuntu-latest
outputs:
branch_ref: ${{ steps.ref.outputs.sha }}
steps:
- name: Dump GitHub context
env:
Expand Down Expand Up @@ -36,11 +38,12 @@ jobs:
- './**'
build:
needs: validate
strategy:
fail-fast: true
uses: ./.github/workflows/deployment.yaml
with:
deplyment_review: ${{ steps.ref.outputs.sha }}
deplyment_review: ${{ needs.validate.outputs.branch_ref }}
secrets: inherit

test:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ jobs:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
run: |
echo "$GITHUB_CONTEXT"
echo ${{ github.event_name }}
echo ${{ github.event.user.login }}

0 comments on commit cbb7042

Please sign in to comment.