Skip to content

Commit

Permalink
try curling issues api endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Amndeep Singh Mann <[email protected]>
  • Loading branch information
Amndeep7 committed Dec 26, 2024
1 parent d347544 commit 33a86bf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/push-lite-to-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,17 @@ jobs:
run: |
git clone https://repo1.dso.mil/dsop/mitre/security-automation-framework/heimdall2.git . # need to swap to right repo
- name: Update Iron Bank repo to have the latest tags
- name: Update Iron Bank repo to have the latest digest
working-directory: ../ironbank_heimdall
run: |
git switch -c "${{ github.event.pull_request.head.sha }}" # swap to sha
yq e -i '.resources[1].url="docker://docker.io/mitre/heimdall2@${{ env.DOCKER_SHA }}"' hardening_manifest.yaml # need to swap to right image
git diff
git add hardening_manifest.yaml
git -c "user.name=Automated Heimdall Release" -c "[email protected]" commit -s -m "updating Heimdall to ${{ github.event.pull_request.head.sha }}" # swap to sha
- name: Create issue and merge request for Iron Bank repo
working-directory: ../ironbank_heimdall
run: |
# ISSUE=$(glab issue create -t "Update Heimdall to $1" -d="" --no-editor -y | cut -d/ -f10)
curl -X GET --header "PRIVATE-TOKEN: ${{ secrets.REPO1_PAT_AMANN_MAXIMAL }}" "https://repo1.dso.mil/api/v4/projects/5450/issues?state=opened"

0 comments on commit 33a86bf

Please sign in to comment.