Skip to content

Commit

Permalink
Merge pull request #27 from bitnami/chore/bump-gh-actions
Browse files Browse the repository at this point in the history
Upgrade GH actions and configure dependabot
  • Loading branch information
fmulero authored Nov 8, 2024
2 parents e4c710e + 6112c27 commit d247e5e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0

version: 2
# Check for updates to GitHub Actions every week
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
types: [published]
pull_request:
workflow_dispatch:
# Remove all permissions by default
permissions: {}
jobs:
build:
runs-on: ubuntu-20.04
Expand All @@ -16,7 +18,7 @@ jobs:
INSTALLBUILDER_LICENSE: ${{ secrets.INSTALLBUILDER_LICENSE }}
UPLOAD_API_KEY: ${{ secrets.UPLOAD_API_KEY }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Download and install InstallBuilder
run: |
set -e
Expand All @@ -29,7 +31,7 @@ jobs:
run: ./scripts/build.sh
- name: Copy release files
run: cp output-*/bndiagnostic-*.run output-amd64/bndiagnostic-update.xml .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: release
path: |
Expand All @@ -43,8 +45,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
path: ./artifacts
- name: Set tag name
Expand Down Expand Up @@ -79,12 +81,12 @@ jobs:
env:
S3_URL: ${{ secrets.S3_URL }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
path: ./artifacts
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit d247e5e

Please sign in to comment.