Skip to content

Commit

Permalink
Update update_bug_report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Sep 28, 2022
1 parent 451f678 commit 45b610e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/update_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,33 +87,29 @@ jobs:
result-encoding: string
script: |
return new Array(500).fill(0).map((_, i) => `#${i + 1}`).reverse();
update-bug-report-main:
update-bug-report-m:
name: Update bug report on `main`
runs-on: ubuntu-latest
needs: pre
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 0
- run: git checkout HEAD^
- name: Update branches
uses: ./
with:
dropdown: branches
options: ${{ needs.pre.outputs.branches }}
commit_message: 'chore(): update bug report branches'
# This option will checkout the local branch to `main`
# Any consequent steps will run in the same context
# That is why we isolate it in a separate job
ref: main
update-bug-report:
name: Update bug report on branch `${{ needs.pre.outputs.branch }}`
runs-on: ubuntu-latest
needs: pre
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 0
- run: git checkout HEAD^
- name: Update labels
uses: ./
Expand Down Expand Up @@ -149,7 +145,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 0
- run: git checkout HEAD^
- name: Update long dropdown
uses: ./
Expand Down

0 comments on commit 45b610e

Please sign in to comment.