Skip to content
Closed
Show file tree
Hide file tree
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
11 changes: 0 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ on:
merge_group:
types: [checks_requested]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SCORE_QNX_USER: ${{ secrets.SCORE_QNX_USER }}
SCORE_QNX_PASSWORD: ${{ secrets.SCORE_QNX_PASSWORD }}
SCORE_QNX_LICENSE: ${{ secrets.SCORE_QNX_LICENSE }}
jobs:
build:
name: Build Bazel Code
Expand All @@ -31,12 +26,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4.2.2

- name: Install protoc 26.1
uses: arduino/setup-protoc@v3
with:
version: 26.1
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.15.0
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/cargo_required.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: cargo build, test, coverage and miri report
on:
push:
branches: [main, development]
pull_request:
pull_request_target:
branches: [main, development]
types: [opened, ready_for_review, reopened, synchronize]

Expand All @@ -34,7 +34,10 @@ jobs:
timeout-minutes: 45 # minutes is the maximum allowed for a cold run
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2
with:
ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Setup Rust Build Environment
uses: ./.github/actions/setup-rust-build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/component_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: Component Integration Tests
on:
push:
branches: [main, development]
pull_request:
pull_request_target:
branches: [main, development]
types: [opened, ready_for_review, reopened, synchronize]
schedule:
Expand All @@ -36,6 +36,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Setup Rust Build Environment
uses: ./.github/actions/setup-rust-build
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/component_integration_tests_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ on:

env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
Expand All @@ -33,12 +32,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4.2.2

- name: Install protoc 26.1
uses: arduino/setup-protoc@v3
with:
version: 26.1
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.15.0
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
copyright-check:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ on:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
formatting-check:
uses: eclipse-score/cicd-workflows/.github/workflows/format.yml@main
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ on:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
pull-requests: write
issues: write
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint_fmt_clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
name: rustfmt and clippy check

on:
pull_request:
pull_request_target:
branches: [main, development]
types: [opened, ready_for_review, reopened, synchronize]

Expand All @@ -27,6 +27,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Install protoc 26.1
uses: arduino/setup-protoc@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
name: Bazel Tests

on:
pull_request:
pull_request_target:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
Expand All @@ -26,6 +26,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
with:
ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Install protoc 26.1
uses: arduino/setup-protoc@v3
Expand Down
Loading