Skip to content
Open
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
6 changes: 2 additions & 4 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: code-sanitizer-test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/release-notes-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
name: Update CSM Release Notes

on:
workflow_dispatch:

jobs:
release-notes-update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.24"

- name: Clone io-tools/change-log
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
run: |
# Need to retrieve the next milestone.
MILESTONE=v1.14.0

git clone https://${GITHUB_TOKEN}@github.com/falfaroc/change-log.git
cd change-log

make build

sed -i "s/milestone: \(.*\)*/milestone: \"$MILESTONE\"/g" config.yaml
./bin/change-log > changelog.md

cat changelog.md

# # Needed for signing commits using Github App tokens
# # See: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#commit-signing
# - name: Generate GitHub App Token
# uses: actions/create-github-app-token@v2.0.2
# id: generate-token
# with:
# app-id: ${{ vars.CSM_RELEASE_APP_ID }}
# private-key: ${{ secrets.MY_GITHUB_TOKEN }}

# Must enable "allow GitHub Actions to create pull requests" setting
# Author defaults to the user who triggered the workflow run
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
# token: ${{ steps.generate-token.outputs.token }}
branch: "release-notes-update"
commit-message: "Update Release Notes"
title: "Update Release Notes"
body: |
Generate the Release Note for the latest release.

Auto-generated by [common-github-actions](https://github.com/dell/common-github-actions)
sign-commits: true
delete-branch: true
5 changes: 1 addition & 4 deletions .github/workflows/scanner-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
name: malware-scanner

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

jobs:
malware_security_scan:
Expand Down
1 change: 1 addition & 0 deletions change-log
Submodule change-log added at 8808e8