Skip to content

Move open source SYCL build pins out of the workflow file - #3112

Open
antonwolfy wants to merge 1 commit into
masterfrom
fix-bump-sycl-deps-workflow-push
Open

antonwolfy wants to merge 1 commit into
masterfrom
fix-bump-sycl-deps-workflow-push

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

This PR fixes the weekly Bump open source SYCL build deps workflow, which failed on its first real bump in this run:

! [remote rejected] bot/bump-sycl-build-deps -> bot/bump-sycl-build-deps (refusing to allow a GitHub App to create or update workflow `.github/workflows/os-llvm-sycl-build.yml` without `workflows` permission)

The job pushes with GITHUB_TOKEN, and GitHub never allows that token to create or update files under .github/workflows/. There is no workflows permission that can be granted to it in the permissions: block.

The pins are moved to a new non-workflow file .github/sycl-build-deps.env, so the bump job can update them with GITHUB_TOKEN and no extra secret is needed:

  • os-llvm-sycl-build.yml checks out the repo first and loads the five pins into $GITHUB_ENV. Only the expected keys are exported, and the step fails with a clear error if any of them is missing.
  • bump-sycl-deps.yml rewrites the values in the new file instead of the workflow.

The pin values are unchanged (2026-WW28). Once merged, a manual run of the bump workflow should open a PR bumping them to 2026-WW42.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

The bump-sycl-deps job pushes with GITHUB_TOKEN, which GitHub never allows
to update files under .github/workflows/, so its first real bump was
rejected. Keep the driver and oneTBB pins in .github/sycl-build-deps.env,
load them in os-llvm-sycl-build.yml, and let the bump job rewrite that file.
@antonwolfy antonwolfy added this to the 0.22.0 release milestone Oct 17, 2026
@antonwolfy antonwolfy self-assigned this Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/3112/index.html

@github-actions

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev15=np2py314h8d9cdd5_2 ran successfully.
Passed: 1376
Failed: 0
Skipped: 6

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 82.616% (+0.006%) from 82.61% — fix-bump-sycl-deps-workflow-push into master

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants