Skip to content

Commit

Permalink
Merge pull request #78 from gradle/cobexer/github-actions-updates
Browse files Browse the repository at this point in the history
GitHub Actions updates
  • Loading branch information
cobexer authored Nov 12, 2024
2 parents 3a365b2 + 689d33c commit 034ed43
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "@dev-productivity"
24 changes: 24 additions & 0 deletions .github/workflows/dependency-review-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Dependency review for pull requests

on:
workflow_dispatch:
pull_request:

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21

- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3

- name: Perform dependency review
uses: actions/dependency-review-action@v3
24 changes: 24 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Dependency Submission

on:
workflow_dispatch:
push:
branches:
- main

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '11'
Expand Down

0 comments on commit 034ed43

Please sign in to comment.