Skip to content
Merged
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
15 changes: 15 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,18 @@ jobs:
sudo apt-get update && sudo apt-get install ninja-build -y
./configure --enable-lto --ninja
ninja -C out/Release

# Once main builds, tell nodejs/devcontainer to publish new nightly images from the same commit.
# Its build workflow listens for this `node-daily` event.
trigger-devcontainer:
needs: build-lto
if: github.repository == 'nodejs/node' && github.ref == 'refs/heads/main'
runs-on: ubuntu-slim
steps:
- name: Dispatch a nodejs/devcontainer build
run: |
gh api repos/nodejs/devcontainer/dispatches \
-f event_type=node-daily \
-f "client_payload[sha]=$GITHUB_SHA"
env:
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure this token has the needed access (I assume it does, but we should make sure

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll make sure to double check before merging this.

Loading