Skip to content
Permalink
Browse files

[github] auto milestone, fix conditions

  • Loading branch information
3nids committed Jan 10, 2020
1 parent 7d1702f commit 82033af4fd4e36481c671da5ac48a2f11ca00f11
Showing with 3 additions and 3 deletions.
  1. +3 −3 .github/workflows/pr-auto-milestone.yml
@@ -105,7 +105,7 @@ jobs:
# create the milestone if needed
- name: Create milestone if needed
id: create_milestone
if: steps.extract_data.outputs.has_milestone_to_set && steps.extract_data.outputs.has_milestone_to_create
if: steps.extract_data.outputs.has_milestone_to_set == true && steps.extract_data.outputs.has_milestone_to_create == true
uses: octokit/request-action@v2.x
with:
route: POST /repos/qgis/QGIS/milestones
@@ -116,7 +116,7 @@ jobs:
# Get the milestone number
- name: Compute milestone number from existing or created
id: compute_milestone
if: steps.extract_data.outputs.has_milestone_to_set
if: steps.extract_data.outputs.has_milestone_to_set == true
env:
MILESTONE_NUMBER_EXISTING: ${{ steps.calculate_milestone.outputs.milestone_number }}
MILESTONE_NUMBER_CREATED_JSON: ${{ steps.create_milestone.outputs.data }}
@@ -127,7 +127,7 @@ jobs:
# update PR with milestone
- name: update PR milestone
if: steps.extract_data.outputs.has_milestone_to_set
if: steps.extract_data.outputs.has_milestone_to_set == true
uses: octokit/request-action@v2.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 82033af

Please sign in to comment.
You can’t perform that action at this time.