Skip to content

Releases: dependabot/fetch-metadata

v1.3.4

30 Sep 20:57
bfc19f4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.3...v1.3.4

v1.3.3

01 Jul 16:37
605e039
Compare
Choose a tag to compare

What's Changed

  • action.yaml: fix skip-commit-verification quoting by @jsok in #232

New Contributors

  • @jsok made their first contribution in #232

Full Changelog: v1.3.2...v1.3.3

v1.3.2

30 Jun 16:56
90ed90d
Compare
Choose a tag to compare

What's Changed

  • Update CODEOWNERS by @mattt in #211
  • Add 'skip-commit-verification' as an input for GitHub Enterprise Server users by @brrygrdn in #225

New Contributors

Full Changelog: v1.3.1...v1.3.2

v1.3.1

20 Apr 11:35
bfac3fa
Compare
Choose a tag to compare

Highlights

This release is primarily catching up on our dependencies, but it also includes a few bug fixes:

  • Correctly populate Dependabot Alert metadata when a manifest is located in the project root, thanks @SalimBensiali
  • Add a workaround for a dependabot-core bug that causes the update-type to be blank occasionally, thanks @mwaddell

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0 - Fetch additional metadata via the GitHub API

01 Mar 14:11
a96c30f
Compare
Choose a tag to compare

Highlights

🆕 Fetch additional metadata about Dependabot commits

You can now optionally enable API lookups within the Action to retrieve extra information about Dependabot PRs.

Example:

-- .github/workflows/dependabot-prs.yml
name: Dependabot Pull Request
on: pull_request_target
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Fetch Dependabot metadata
      id: dependabot-metadata
      uses: dependabot/fetch-metadata@v1.3.0
      with:
        alert-lookup: true
        compat-lookup: true

The flags enable the following new outputs:

  • steps.dependabot-metadata.outputs.alert-state
    • If this PR is associated with a security alert and alert-lookup is true, this contains the current state of that alert (OPEN, FIXED or DISMISSED).
  • steps.dependabot-metadata.outputs.ghsa-id
    • If this PR is associated with a security alert and alert-lookup is true, this contains the GHSA-ID of that alert.
  • steps.dependabot-metadata.outputs.cvss
    • If this PR is associated with a security alert and alert-lookup is true, this contains the CVSS value of that alert (otherwise it contains 0).
  • steps.dependabot-metadata.outputs.compatibility-score
    • If this PR has a known compatibility score and compat-lookup is true, this contains the compatibility score (otherwise it contains 0).

Many thanks to @mwaddell for contributing these additional flags 🥇

The Action no longer fails if other commits are present

We received feedback at this change was highly obtrusive and blocking common workflows that merging in the target branch. Following on from changes in 1.2.1 to make it easier for a user to re-run failed workflows this friction was much more obvious.

Thanks for the feedback, and thanks @mwaddell for contributing the change.

The Action defaults to using the GITHUB_TOKEN

This makes us consistent with other GitHub Actions such as actions/checkout in using the baseline token provided to the workflow. Since the Action doesn't have any features which require write scopes this defaulting is adequate for all use cases.

Thanks @jablko for contributing this change 🏆

What's Changed

  • Flag security alerts and pass versions through by @mwaddell in #144
  • Updated bump-version to update README.md as well by @mwaddell in #163
  • Updated README to reference correct version by @mwaddell in #165
  • Allow fetch-metadata to run on a PR even if it has additional commits… by @mwaddell in #166
  • Default github-token by @jablko in #83
  • Return compatibility score by @mwaddell in #146

New Contributors

Full Changelog: v1.2.1...v1.3.0

v1.2.1 - Workflows may be re-ran by someone other than Dependabot

22 Feb 19:43
2354b3f
Compare
Choose a tag to compare

Highlights:

  • Check the PR author instead of the Action Actor so failed fetch-metadata workflows can be retried, thanks @mwaddell!
  • Catch up on our dependency updates 😅

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0 - Updated outputs

15 Feb 00:09
37d2f78
Compare
Choose a tag to compare

What's Changed

All other changes are dev or build related.

Full Changelog: v1.1.1...v1.2.0

v1.1.1 - Bump @actions/core

21 Jun 12:03
a3e5f86
Compare
Choose a tag to compare

This release updates @actions/core from v1.3.0 to v1.4.0

All other changes are dev or build related.

Initial release of Dependabot's `fetch-metadata` action

04 Jun 09:55
Compare
Choose a tag to compare

Extract information about the dependencies being updated by a Dependabot-generated PR.

v1.0.3

03 Jun 11:00
81e2bef
Compare
Choose a tag to compare
v1.0.3 Pre-release
Pre-release

Improved handling for GitHub API errors