Skip to content

Commit

Permalink
Corrected inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jca27 committed Jan 11, 2025
1 parent 5f4dc87 commit 88432ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@ runs:
- name: Create Tickets
shell: bash
run: |
ls
sh ${{ github.action_path }}/create-jira-tickets.sh
env:
INPUT_REPO: ${{ inputs.github-repo }}
INPUT_USER_ID: ${{ inputs.user-id }}
INPUT_USER_PASS: ${{ inputs.user-pass }}

# - shell: bash
# env:
Expand Down
2 changes: 1 addition & 1 deletion create-jira-tickets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "Today: $today"

gh_token=$(aws secretsmanager get-secret-value --secret-id github_tokens --query SecretString --output text | jq -r .teamcity)
echo ${INPUT_user-id}
curl -L -H "Accept: application/vnd.github.v3+json" -u ${INPUT_user-id}:${INPUT_user-pass} https://api.github.com/repos/SynergyDataSystems/${INPUT_github-repo}/dependabot/alerts
curl -L -H "Accept: application/vnd.github.v3+json" -u $INPUT_USER_ID:$INPUT_USER_PASS https://api.github.com/repos/SynergyDataSystems/$INPUT_REPO/dependabot/alerts
#> alerts.json
#ls
#cat alerts.json
Expand Down

0 comments on commit 88432ff

Please sign in to comment.