Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Feb 5, 2025
1 parent 67780be commit 5774925
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/project/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,15 @@ runs:
echo 'ITEM_IDS ='$(jq -c '[.data.organization.projectV2.items.nodes[] | select(.status== "πŸš€ Release")| .id]' project_data.json) >> $GITHUB_ENV
echo 'FIELDS ='$(jq -c '[.data.organization.projectV2.items.nodes[] | .fieldValues.nodes[] | .name]' project_data.json) >> $GITHUB_ENV
# - name: Get all items in status release
# shell: bash
# env:
# GH_TOKEN: ${{ inputs.token }}
# # Get all the items with status "πŸš€ Release"
# run: |
# gh api graphql -f query='
# '
- name: Get all items in status release
shell: bash
env:
GH_TOKEN: ${{ inputs.token }}
# Get all the items with status "πŸš€ Release"
run: |
gh project item-list --owner equinor 965 --format=json | jq '.items[] |
select(.status=="πŸš€ Release" and .content.type == "Issue") | {id: .id ,url :.content.url}' >>items.json
echo 'ITEMS = '$(jq -s '.' items.json) >> $GITHUB_ENV
# #Sets environment variables for this step. Replace `YOUR_TOKEN` with the name of the secret that contains your personal access token.
# - name: Set fields
Expand Down

0 comments on commit 5774925

Please sign in to comment.