Compare commits

..

1 Commits

Author SHA1 Message Date
adilallo cfe54737b8 Test workflow from working commit 6994f75 2025-08-29 21:54:44 -06:00
5 changed files with 53 additions and 63 deletions
+9 -18
View File
@@ -4,22 +4,13 @@ run-name: ${{ gitea.actor }} triggered CI pipeline
on: on:
workflow_dispatch: {} workflow_dispatch: {}
push: push:
branches: [main, develop] # only direct pushes/merges to protected branches branches: [main, develop, "fix-runner-trigger"]
pull_request: pull_request:
branches: [main, develop] # PRs into main/develop branches: [main, develop]
types: [opened, reopened, synchronize]
jobs: jobs:
canary:
runs-on: ["self-hosted:host", "macos-latest:host"]
steps:
- run: |
uname -a
node -v || true
echo "Runner labels OK ✅"
test: test:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
strategy: strategy:
matrix: { node-version: [18, 20] } matrix: { node-version: [18, 20] }
env: env:
@@ -48,7 +39,7 @@ jobs:
# bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests # bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests
e2e: e2e:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
strategy: strategy:
matrix: { browser: [chromium, firefox, webkit] } matrix: { browser: [chromium, firefox, webkit] }
steps: steps:
@@ -81,7 +72,7 @@ jobs:
retention-days: 30 retention-days: 30
visual-regression: visual-regression:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -118,7 +109,7 @@ jobs:
retention-days: 30 retention-days: 30
performance: performance:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -156,7 +147,7 @@ jobs:
path: lhci-results path: lhci-results
storybook: storybook:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -167,7 +158,7 @@ jobs:
env: { CI: true } env: { CI: true }
lint: lint:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -177,7 +168,7 @@ jobs:
- run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" - run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"
build: build:
runs-on: ["self-hosted:host", "macos-latest:host"] runs-on: [self-hosted, macos-latest]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
+6 -6
View File
@@ -1,12 +1,12 @@
{ {
"WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.", "WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
"id": 12, "id": 7,
"uuid": "1f114e7b-9330-40fc-9c96-816b07f3e4c2", "uuid": "3a8b9f5a-189b-47a3-b0b1-1a06c933cc06",
"name": "community-rule-test-runner", "name": "community-rule-runner-1",
"token": "ba42513830cbc9e2eb6abf86ee119fadfcb7a14b", "token": "23ecad1165282704291cfa5112a36aebfadfa40a",
"address": "https://git.medlab.host", "address": "https://git.medlab.host",
"labels": [ "labels": [
"self-hosted:host", "macos-latest:host",
"macos-latest:host" "self-hosted:host"
] ]
} }
+1 -1
View File
@@ -1 +1 @@
35293 39731
+1 -1
View File
@@ -178,4 +178,4 @@ community-rule/
## 📄 License ## 📄 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
# Test trigger # Test from working commit
+1 -2
View File
@@ -9,8 +9,8 @@ runner:
fetch_timeout: 5s fetch_timeout: 5s
fetch_interval: 2s fetch_interval: 2s
labels: labels:
- "self-hosted:host"
- "macos-latest:host" - "macos-latest:host"
- "self-hosted:host"
cache: cache:
enabled: true enabled: true
@@ -27,7 +27,6 @@ container:
valid_volumes: [] valid_volumes: []
docker_host: "" docker_host: ""
force_pull: false force_pull: false
mode: "host"
host: host:
workdir_parent: "" workdir_parent: ""