Skip to content

Pf 2589 upgrade GitHub workflow actions - #498

Closed
brasande wants to merge 7 commits into
mainfrom
PF-2589-upgrade-github-workflow-actions
Closed

brasande wants to merge 7 commits into
mainfrom
PF-2589-upgrade-github-workflow-actions

Conversation

@brasande

@brasande brasande commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Testing of dependabot actions bumps in github-workflows

Pipeline testing regarding action version bumps. Part of https://digdir.atlassian.net/browse/PF-2589. Most of the testing is performed from plattform-test-app: https://github.com/felleslosninger/plattform-test-app/pull/563. Linter is tested from github-workflows here.
The following action bumps are in scope:

Notes:
Warning: The 'server-username' input is deprecated and may be removed in a future release. Please use 'server-username-env-var' instead.
Warning: The 'server-password' input is deprecated and may be removed in a future release. Please use 'server-password-env-var' instead.
Dette er noe som må migreres/byttes ved neste versjonsbump, source. Out of scope for version bumpingen

Summary
The following dependabot action bumps should be good to go. However, we should plan to migrate to using 'server-username-env-var' and 'server-password-env-var'. A total of 11 workflows needs to be migrated, query here. Follow-up task has been created in JIRA here. This branch/PR will be deleted.

dependabot Bot and others added 7 commits September 7, 2026 08:57
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 4.1.0 to 4.3.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](docker/setup-qemu-action@0611638...1f40c72)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5.7.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@b6effb0...dd06d9c)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [super-linter/super-linter/slim](https://github.com/super-linter/super-linter) from 8.5.0 to 8.7.0.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](super-linter/super-linter@61abc07...4ce2083)

---
updated-dependencies:
- dependency-name: super-linter/super-linter/slim
  dependency-version: 8.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6.0.2...3d3c42e)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@bb05f3f...37fe631)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@f9f3042...53b7df9)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@emilarnesen
emilarnesen marked this pull request as ready for review September 10, 2026 09:59
@emilarnesen
emilarnesen requested review from a team as code owners September 10, 2026 09:59
@brasande brasande closed this Sep 11, 2026
@brasande

Copy link
Copy Markdown
Contributor Author

Cosing this PR - this will not be merged! The PR has just been used as a reference for pipeline testing.

brasande added a commit that referenced this pull request Oct 13, 2026
…java (#511)

## Description
Replaces the deprecated `server-username` / `server-password` inputs
with
`server-username-env-var` / `server-password-env-var` in all
`actions/setup-java` calls.

The deprecation warnings showed up after the bump to
`actions/setup-java`
v6.0.0
([PF-2589](#498)).
The old inputs are now aliases and may be removed in a future
release (see actions/setup-java#1134). The new inputs already exist in
the
pinned v6.0.0, so no version bump is needed.

This is a rename only. The values (env var names `GH_PACKAGES_READ_USER`
/
`GH_PACKAGES_READ_PAT`, and `GITHUB_ACTOR` / `GITHUB_TOKEN` in
`ci-maven-deploy.yml`) are unchanged.

## Type of Change
<!-- Check all that apply -->
- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [ ] 💥 Breaking change (fix or feature that would cause existing caller
  workflows to fail)
- [x] ♻️ Refactor (code improvement without functional change)
- [ ] 📝 Documentation update

## Checklist for Shared Workflows & Actions

- [x] **Documentation:** N/A.
- [x] **Input Propagation:** N/A.
- [x] **Cross-Workflow Relevance:** All `actions/setup-java` call sites
in the
  repo are updated, including archived workflows just for safety.
- [x] **Testing:** I have tested these changes against a caller
repository (plattform-test-app).

## Testing Details
Tested from `plattform-test-app` with callers pointed at this branch:
- `ci-pr-checks-lib` via "Pull request (library)":
https://github.com/felleslosninger/plattform-test-app/actions/runs/37416656621
- `ci-pr-checks-image` → `ci-spring-boot-container-scan` via "Pull
request (image)":
https://github.com/felleslosninger/plattform-test-app/actions/runs/37416656591

`ci-spring-boot-build-publish-image`, `ci-build-publish-lib` and the
Quarkus
workflows were not run against this branch. They contain the same
rename.

[PF-2589]:
https://digdir.atlassian.net/browse/PF-2589?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant