Skip to content

Commit

Permalink
Updating github-config
Browse files Browse the repository at this point in the history
  • Loading branch information
initializ-bot committed Jul 25, 2024
1 parent 7b1655a commit 2b7d76f
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/update-dependencies-from-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
schedule:
- cron: '57 13 * * *' # daily at 13:57 UTC

Check warning on line 6 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

6:27 [comments] too few spaces before comment

env:
AWS_REGION : "us-east-1"

Check failure on line 9 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

9:13 [colons] too many spaces before colon

Check failure on line 9 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

9:27 [trailing-spaces] trailing spaces
permissions:
id-token: write # This is required for requesting the JWT
contents: write # This is required for actions/checkout

jobs:
retrieve:
name: Retrieve New Versions and Generate Metadata
Expand All @@ -21,6 +27,7 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3

Check failure on line 30 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

30:1 [trailing-spaces] trailing spaces

- name: Setup Go
uses: actions/setup-go@v3
Expand Down Expand Up @@ -221,6 +228,22 @@ jobs:
echo "artifact-file=$(basename ./*.tgz)" >> "$GITHUB_OUTPUT"
echo "checksum-file=$(basename ./*.tgz.checksum)" >> "$GITHUB_OUTPUT"

Check failure on line 231 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

231:1 [trailing-spaces] trailing spaces
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.ROLE }}

Check failure on line 235 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

235:27 [colons] too many spaces after colon
aws-region: ${{ env.AWS_REGION }}
- name: Upload to S3
id: upload
uses: initializ-buildpacks/github-config/actions/dependency/upload-to-s3@main
with:
bucket-name: "initializ-buildpacks"
dependency-name: ${{ needs.retrieve.outputs.id }}
artifact-path: ${{ steps.get-file-names.outputs.artifact-file }}
- name: Get Checksum
id: get-checksum
run: echo "checksum=$(cat ${{ steps.get-file-names.outputs.checksum-file }})" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -304,6 +327,7 @@ jobs:
if: ${{ steps.commit.outputs.commit_sha != '' }}
uses: initializ-buildpacks/github-config/actions/pull-request/push-branch@main
with:
token: ${{ secrets.PAT }}
branch: automations/dependencies/update-from-metadata
- name: Open Pull Request
Expand Down Expand Up @@ -331,4 +355,4 @@ jobs:
issue_body: |
Update Dependencies From Metadata workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
comment_body: |
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

Check failure on line 358 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

358:113 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 2b7d76f

Please sign in to comment.