Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump @actions/core from 1.10.0 to 1.10.1 #2

Merged
merged 21 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: read
pull-requests: read

jobs:
test-javascript:
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
- name: Run DependaMerge
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodule: true
token: ${{ secrets.DEPENDABOT }}
handle-submodule: true


29 changes: 18 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ inputs:
description: 'The GitHub token used to merge the pull-request'
required: true

approve:
description: 'Approve the pull-request before merging. Valid values: true or false - Default: true'
required: false
default: true

approve-only:
description: 'Only approve the pull-request. Valid values: true or false - Default: false'
required: false
Expand All @@ -26,10 +21,15 @@ inputs:
required: false
default: squash

submodule:
handle-submodule:
description: 'If true, the action will merge pull-requests with submodule updates. Valid values: true or false - Default: false'
required: false
default: false

handle-dependency-group:
description: 'If true, the action will merge dependency group pull-requests. Valid values: true or false - Default: false'
required: false
default: true

target:
description: 'The version comparision target. Valid values: major, minor or patch - Default: minor'
Expand All @@ -47,18 +47,25 @@ inputs:
default: false

# Define your outputs here.
# outputs:
# time:
# description: 'Your output description here'
outputs:
state:
description: 'The state of the pull-request after the action has completed.'
value: ${{ steps.dependamerge.outputs.state }}
message:
description: 'More information about the state of the pull-request after the action has completed.'
value: ${{ steps.dependamerge.outputs.message }}

runs:
using: composite
steps:
- name: Fetch metadata
id: metadata
uses: dependabot/[email protected]
if: github.event_name == 'pull_request' && (github.actor == 'dependabot[bot]')
if: github.event_name == 'pull_request' && (github.actor == 'dependabot[bot]' || github.triggering_actor == 'dependabot[bot]' || inputs.skip-verification)
with:
github-token: ${{ inputs.token }}
alert-lookup: true
compat-lookup: true
skip-commit-verification: ${{ inputs.skip-commit-verification }}
skip-verification : ${{ inputs.skip-verification }}

Expand All @@ -73,5 +80,5 @@ runs:
github,
context,
inputs: ${{ toJSON(inputs) }},
metadata: ${{ toJSON(steps.dependabot-metadata.outputs) }},
metadata: ${{ toJSON(steps.metadata.outputs) }},
})
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading