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

🌱 Bump github.com/rhysd/actionlint from 1.6.27 to 1.7.1 #640

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 28, 2024

Bumps github.com/rhysd/actionlint from 1.6.27 to 1.7.1.

Release notes

Sourced from github.com/rhysd/actionlint's releases.

v1.7.1

v1.7.0

  • From this version, actionlint starts to check action metadata file action.yml (or action.yaml). At this point, only very basic checks are implemented and contents of steps: are not checked yet.
    • It checks properties under runs: section (e.g. main: can be specified when it is a JavaScript action), branding: properties, and so on.
      name: 'My action'
      author: '...'
      # ERROR: 'description' section is missing
      branding:
      ERROR: Invalid icon name
      icon: dog
      runs:
      ERROR: Node.js runtime version is too old
      using: 'node12'
      ERROR: The source file being run by this action does not exist
      main: 'this-file-does-not-exist.js'
      ERROR: 'env' configuration is only allowed for Docker actions
      env:
      SOME_VAR: SOME_VALUE

    • actionlint still focuses on checking workflow files. So there is no way to directly specify action.yml as an argument of actionlint command. actionlint checks all local actions which are used by given workflows. If you want to use actionlint for your action development, prepare a test/example workflow which uses your action, and check it with actionlint instead.
    • Checks for steps: contents are planned to be implemented. Since several differences are expected between steps: in workflow file and steps: in action metadata file (e.g. available contexts), the implementation is delayed to later version. And the current implementation of action metadata parser is ad hoc. I'm planning a large refactorying and breaking changes Go API around it are expected.
  • Add runner.environment property. (#412)
    - run: echo 'Run by GitHub-hosted runner'
      if: runner.environment == 'github-hosted'
  • Using outdated popular actions is now detected at error. See the document for more details.

... (truncated)

Changelog

Sourced from github.com/rhysd/actionlint's changelog.

v1.7.1 - 28 May 2024

[Changes][v1.7.1]

v1.7.0 - 08 May 2024

  • From this version, actionlint starts to check action metadata file action.yml (or action.yaml). At this point, only very basic checks are implemented and contents of steps: are not checked yet.
    • It checks properties under runs: section (e.g. main: can be specified when it is a JavaScript action), branding: properties, and so on.
      name: 'My action'
      author: '...'
      # ERROR: 'description' section is missing
      branding:
      ERROR: Invalid icon name
      icon: dog
      runs:
      ERROR: Node.js runtime version is too old
      using: 'node12'
      ERROR: The source file being run by this action does not exist
      main: 'this-file-does-not-exist.js'
      ERROR: 'env' configuration is only allowed for Docker actions
      env:
      SOME_VAR: SOME_VALUE

    • actionlint still focuses on checking workflow files. So there is no way to directly specify action.yml as an argument of actionlint command. actionlint checks all local actions which are used by given workflows. If you want to use actionlint for your action development, prepare a test/example workflow which uses your action, and check it with actionlint instead.
    • Checks for steps: contents are planned to be implemented. Since several differences are expected between steps: in workflow file and steps: in action metadata file (e.g. available contexts), the implementation is delayed to later version. And the current implementation of action metadata parser is ad hoc. I'm planning a large refactorying and breaking changes Go API around it are expected.

... (truncated)

Commits
  • 62dc61a bump up version to v1.7.1
  • 95b7390 describe testing in CONTRIBUTING.md
  • dbe4c46 update Go and playground dependencies to the latest
  • 10e833c fix ghcr.io/ and docker.io Docker images are not allowed at image in ac...
  • c33463f Merge pull request #429 from rhysd/ci/9231952028
  • 9abf560 update generated files by go generate on CI
  • 92535a2 prefer document URL at specific version tag
  • 4c3740e remove windows-2016 runner label support which was dropped in 2022
  • b879f2b fix indirect package import
  • a1ff3f7 Merge pull request #426 from rhysd/ci/9136328169
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 28, 2024
@dependabot dependabot bot requested review from a team, spencerschrock and raghavkaul and removed request for a team May 28, 2024 18:55
Copy link

netlify bot commented May 28, 2024

Deploy Preview for ossf-scorecard canceled.

Name Link
🔨 Latest commit ab1a357
🔍 Latest deploy log https://app.netlify.com/sites/ossf-scorecard/deploys/66ba9022ce1cd80008ac11c3

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/rhysd/actionlint-1.7.1 branch 2 times, most recently from adfb0e7 to 0bc964b Compare June 6, 2024 20:37
@justaugustus
Copy link
Member

@dependabot rebase

Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint) from 1.6.27 to 1.7.1.
- [Release notes](https://github.com/rhysd/actionlint/releases)
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md)
- [Commits](rhysd/actionlint@v1.6.27...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/rhysd/actionlint-1.7.1 branch from 0bc964b to 793decd Compare July 3, 2024 02:45
v1.7.0 introduced a breaking change where `actionlint.Job.Services`
changed type. We just needed to use the new `Value` field to access the
map we were before.

rhysd/actionlint@906db8b

Signed-off-by: Spencer Schrock <sschrock@google.com>
@spencerschrock
Copy link
Contributor

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@spencerschrock spencerschrock merged commit f517b95 into main Aug 12, 2024
11 checks passed
@spencerschrock spencerschrock deleted the dependabot/go_modules/github.com/rhysd/actionlint-1.7.1 branch August 12, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants