Skip to content

Commit

Permalink
fix(pie-monorepo): DSW-000 add missing steps in labeler workflow (#2047)
Browse files Browse the repository at this point in the history
* fix(pie-monorepo): DSW-000 add missing steps in labeler workflow

* fix(pie-monorepo): DSW-000 update step name
  • Loading branch information
fernandofranca authored Nov 12, 2024
1 parent c4ead58 commit 9f9560e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/labeler-get-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ jobs:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Fetch main branch # This is necessary for comparing the current branch changes against main
run: git fetch origin main:main
- name: Fetch branches # This is necessary for comparing the current branch changes against main
run: |
git fetch origin main:main
git fetch origin ${{ github.head_ref }}:refs/remotes/origin/${{ github.head_ref }}
git checkout -b ${{ github.head_ref }} origin/${{ github.head_ref }}
- name: Get Missing Labels
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
Expand Down

0 comments on commit 9f9560e

Please sign in to comment.