Elect version 2e269c77aa2f6b2353ddad6a4ac3d5ddcac196b1 #681
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
pull_request: | |
jobs: | |
changed_files: | |
runs-on: | |
labels: dre-runner-custom | |
# This image is based on ubuntu:20.04 | |
container: ghcr.io/dfinity/dre/actions-runner:2864b49b24203b5842420ca31f7a4eb33e4076ce | |
name: Test changed-files | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get all changed release files | |
id: changed-files | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: | | |
release-index.yaml | |
replica-releases/** | |
node-labels/** | |
- name: Mark bazel as success # because it should not run if only release files changed | |
uses: Sibz/github-status-action@v1 | |
if: ${{ steps.changed-files.outputs.all_changed_files_count > 0 && steps.changed-files.outputs.other_changed_files_count == 0 }} | |
with: | |
authToken: ${{secrets.GITHUB_TOKEN}} | |
context: 'bazel' | |
description: 'Passed' | |
state: 'success' | |
sha: ${{github.event.pull_request.head.sha || github.sha}} | |
- name: Run checks for release index | |
if: ${{ steps.changed-files.outputs.all_changed_files_count > 0 && steps.changed-files.outputs.other_changed_files_count == 0 }} | |
run: | | |
python release-controller/ci_check.py --repo-path /home/runner/.cache |