Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Proprietary
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
### Description

Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
---
name: Bug report
about: Create a report to help us improve
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
---
name: Feature request
about: Suggest an idea for this project
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Proprietary
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
### Description

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Set access to private repositories
run: bash ./scripts/setup_github.sh
env:
GIT_TOKEN: ${{ secrets.GIT_SECRET }}
GIT_TOKEN: ${{ secrets.ARM_SOFTWARE_TOKEN || github.token }}
- name: Build ${{ matrix.go-module }} on ${{ matrix.os }}
uses: ARM-software/golang-utils/actions/run-go-modules@v1.172.0
with:
Expand Down
26 changes: 11 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Assert news
run: cd-assert-news -b "${CI_ACTION_REF_NAME}"
env:
GIT_TOKEN: ${{ secrets.GIT_SECRET }}
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Report failure if needed
if: ${{ failure() }}
run: |
Expand All @@ -47,20 +47,16 @@ jobs:
name: Check for secrets
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v7
- name: Install tools
run: pip install detect-secrets==1.0.3 && pip list
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
# FIXME: GitLeaks requires a licence now
#- name: Check for secrets using gitleaks
# uses: gitleaks/gitleaks-action@v2
# with:
# config-path: .gitleaks.toml
- name: Check for secrets using detect-secrets
run: git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline --exclude-files '.*go\.sum$' --exclude-files '.*\.html$' --exclude-files '.*\.properties$' --exclude-files 'ci.yml'
working-directory: .
- uses: actions/setup-python@v7
with:
python-version: ${{ env.python_version }}
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- name: Install CI/CD tools
run: python -m pip install --upgrade 'continuous-delivery-scripts>=4.8.0' && pip list
- name: Check for secrets with CDS
run: cd-detect-secrets

build-and-test:
uses: ./.github/workflows/update-utils.yml
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Dependabot
on:
pull_request_target:
branches: dependabot/**
branches: [ main ]
permissions:
pull-requests: write
issues: write
Expand All @@ -15,10 +15,12 @@ jobs:
update-go:
uses: ./.github/workflows/update-utils.yml
secrets: inherit
with:
branch: ${{ github.head_ref || github.ref_name || github.ref }}
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
needs: update-utils
needs: update-go
steps:
# Checkout with full history for to allow compare with base branch
- uses: actions/checkout@v7.0.1
Expand Down Expand Up @@ -48,8 +50,9 @@ jobs:
- name: Assert news
run: cd-assert-news -b "${CI_ACTION_REF_NAME}"
env:
GIT_TOKEN: ${{ secrets.GIT_SECRET }}
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-merge the PR
continue-on-error: true
run: gh pr merge --auto --squash --body "Dependency upgrade $PR_URL" --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/licensing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Licensing

on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:

env:
go_version: "1.27.3"
python_version: "3.11"

jobs:
licensing:
name: Check licence compliance
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: ${{ env.go_version }}
cache: true
cache-dependency-path: '**/go.sum'
- name: Sync workspace
uses: ARM-software/golang-utils/actions/sync-go-workspace@v1.172.0
- uses: actions/setup-python@v7
with:
python-version: ${{ env.python_version }}
- name: Set access to private repositories
run: bash ./scripts/setup_github.sh
env:
GIT_TOKEN: ${{ secrets.ARM_SOFTWARE_TOKEN || github.token }}
- name: Download Go dependencies for every module
uses: ARM-software/golang-utils/actions/go-multimodules@v1.172.0
with:
task: download
- name: Install CI/CD tools
run: python -m pip install --upgrade 'continuous-delivery-scripts>=4.8.0' && pip list
- name: Check licence compliance
run: cd-check-licence-compliance
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
runs-on: ubuntu-latest
needs: [ check-for-changes ]
if: needs.check-for-changes.outputs.changes
permissions:
contents: write
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down Expand Up @@ -67,5 +69,4 @@ jobs:
- name: Tag and release
run: cd-tag-and-release -b "${CI_ACTION_REF_NAME}" -t ${{ github.event.inputs.release_type }} -vv
env:
# Using a specific token because GITHUB_TOKEN is not available https://github.com/marketplace/actions/workflow-dispatch#token
GIT_TOKEN: ${{ secrets.GIT_SECRET }}
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 7 additions & 4 deletions .github/workflows/update-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,28 @@ on:
description:
"Branch to commit updated utils changes to:"
type: string
required: true
required: false

jobs:
update-go:
name: Update Go
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v7.0.1
with:
# So that we have correct GIT_TOKEN to push back to branch as we need workflow permissions
token: ${{ secrets.GIT_SECRET }}
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ inputs.branch || github.head_ref || github.ref }}
- name: Setup python
uses: actions/setup-python@v7
with:
python-version: ${{ env.python_version }}
- name: Install continuous-delivery-scripts
run: |
pip install continuous-delivery-scripts
python -m pip install --upgrade 'continuous-delivery-scripts>=4.8.0'
pip list
- name: License files
run: |
cd-license-files
Expand All @@ -39,7 +42,7 @@ jobs:
with:
repository: Arm-Debug/update-go-action
ref: refs/tags/latest
token: ${{ secrets.GIT_SECRET }}
token: ${{ secrets.ARM_SOFTWARE_TOKEN || github.token }}
persist-credentials: false
path: ./.github/workflows/update-go-action
- name: Update Go
Expand Down
2 changes: 1 addition & 1 deletion .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
# Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#

Expand Down
4 changes: 4 additions & 0 deletions .qlty/qlty.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#
# Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
config_version = "0"

exclude_patterns = [
Expand Down
50 changes: 45 additions & 5 deletions .secrets.baseline

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved.
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
"" "1.20.1" (2025-12-31)
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
# Contributor Covenant Code of Conduct
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Proprietary
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
# Contribution Guide

Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
# Development and Testing
Expand Down
2 changes: 1 addition & 1 deletion KNOWN_ISSUES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved.
Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
# Known Issues
Expand Down
Loading