Skip to content

Commit

Permalink
Merge pull request #95 from sonomirco/dev/mibi/maybe
Browse files Browse the repository at this point in the history
Update check-for-changes.yml
  • Loading branch information
sonomirco authored Dec 11, 2023
2 parents 992a9c6 + a392d93 commit 69ad418
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: |
echo ${{ github.event.issue.pull_request }}
echo ${{ github.event.issue.pull_request.head }}
echo ${{ github.event.issue.pull_request.head.sha }}
echo ${{ github.event.issue.pull_request.headRef }}
echo ${{ github.event.issue.pull_request.headRefName }}
echo ${{ github.event.issue.pull_request.head.number }}
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.issue.pull_request.head.sha }}
ref: ${{ github.event.issue.pull_request.headRef }}

- name: 🐍 Setting Python
uses: actions/setup-python@v4
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/check-for-changes.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# hope
name: Check differences

on:
Expand All @@ -7,24 +8,26 @@ jobs:
validate:
runs-on: ubuntu-latest
steps:
- run: echo ${{ github.event.issue.pull_request.head.sha }}
- run: echo ${{ github.event.issue.pull_request.headRef }}

- name: 🛎 Checkout repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.issue.pull_request.head.sha }}
ref: ${{ github.event.issue.pull_request.headRef }}

- name: 📌 Filter changed projects
uses: dorny/paths-filter@v2
id: filter
with:
ref: ${{ github.event.issue.pull_request.head.sha }}
base: ${{ github.event.issue.pull_request.headRef }}
filters: ''

build:
strategy:
fail-fast: true
uses: ./.github/workflows/deployment.yaml
with:
deplyment_review: ${{ github.event.issue.pull_request.head.sha }}
deplyment_review: ${{ github.event.issue.pull_request.headRef }}
secrets: inherit

test:
Expand Down

0 comments on commit 69ad418

Please sign in to comment.