From 5600aae62ca4ebd0be463a50aae5bf73e5e0eb0b Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 8 Jan 2025 10:00:52 +0100 Subject: [PATCH 1/2] chore(ci): prepare for the switch to main branch. Signed-off-by: Federico Di Pierro --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/clang-format-check.yaml | 7 ++++--- README.md | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e6fe86f..8927ffb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,16 +2,16 @@ name: CI on: pull_request: - branches: [master] + branches: [main] push: - branches: [master] + branches: [main] jobs: run-tests: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: make -j4 diff --git a/.github/workflows/clang-format-check.yaml b/.github/workflows/clang-format-check.yaml index 3bda0ff..ad59ca4 100644 --- a/.github/workflows/clang-format-check.yaml +++ b/.github/workflows/clang-format-check.yaml @@ -2,16 +2,17 @@ name: clang-format Check on: pull_request: - branches: [master] + branches: [main] push: - branches: [master] + branches: [main] jobs: formatting-check: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - name: Run clang-format style check uses: jidicula/clang-format-action@f62da5e3d3a2d88ff364771d9d938773a618ab5e #v4.11.0 with: diff --git a/README.md b/README.md index 9dd70cd..935ff2c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ C++ header only library fo facilitate writing [Falcosecurity plugins](https://fa The library uses the C++11 standards. -> __NOTE:__ master is not guaranteed to be compatible with latest released Falco; use correct release instead to target a specific Falco version! +> __NOTE:__ main is not guaranteed to be compatible with latest released Falco; use correct release instead to target a specific Falco version! ## Installation From 6c8cf2c07e13392c126e0dcab58ac3e964c57aff Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 8 Jan 2025 10:34:46 +0100 Subject: [PATCH 2/2] chore(github): set NONE as default release note in the pr template. Signed-off-by: Federico Di Pierro --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 307fa2f..6dd3ab8 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -61,5 +61,5 @@ For example, `action required: update plugins to use new sdk version`. --> ```release-note - +NONE ```