Skip to content

Commit

Permalink
Merge pull request #99 from sonomirco/dev/mibi/final
Browse files Browse the repository at this point in the history
test
  • Loading branch information
sonomirco authored Dec 11, 2023
2 parents 8909362 + 0ef56cf commit 817dfd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/check-for-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@ jobs:
run: echo "$GITHUB_CONTEXT"

- name: "Get PR's branch name"
id: get_branch
id: ref
run: |
PR=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" ${{ github.event.issue.pull_request.url }})
echo $PR | jq -r '.head.ref'
echo "sha=$(PR | jq -r '.head.sha)" >> $GITHUB_OUTPUT
echo $(PR | jq -r '.head.sha)'
- name: 🛎 Checkout repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.url.head.sha }}
ref: ${{ steps.ref.outputs.sha }}

- name: 📌 Filter changed projects
uses: dorny/paths-filter@v2
with:
base: ${{ github.event.pull_request.url.head.sha }}
base: ${{ steps.ref.outputs.sha }}
filters: |
changes:
- './**'
Expand All @@ -39,7 +40,7 @@ jobs:
fail-fast: true
uses: ./.github/workflows/deployment.yaml
with:
deplyment_review: ${{ github.event.pull_request.head.sha }}
deplyment_review: ${{ steps.ref.outputs.sha }}
secrets: inherit

test:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/context.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Check context
#comment
on:
workflow_dispatch:
issue_comment:
pull_request:

Expand Down

0 comments on commit 817dfd8

Please sign in to comment.