From 4b08e7183d70cda1c7ef72be9732a2dc49899c12 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Sat, 28 Dec 2024 18:43:17 +0000 Subject: [PATCH] build: Update workflows to target main branch Signed-off-by: Paulo Gomes --- .github/workflows/codeql.yml | 7 ++++--- .github/workflows/test.yml | 8 +++++++- .github/workflows/test_wasip1.yml | 8 +++++++- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e44ee22..d23bc9d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,13 +1,14 @@ -name: "CodeQL" +name: CodeQL on: push: - branches: [ "master" ] + branches: [ "master", "main" ] pull_request: - branches: [ "master" ] schedule: - cron: '00 5 * * 1' +permissions: {} + jobs: analyze: name: Analyze diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 122efc8..5e1e048 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,12 @@ -on: [push, pull_request] name: Test + +on: + push: + branches: [ "master", "main" ] + pull_request: + permissions: {} + jobs: test: strategy: diff --git a/.github/workflows/test_wasip1.yml b/.github/workflows/test_wasip1.yml index f05dedf..ad73946 100644 --- a/.github/workflows/test_wasip1.yml +++ b/.github/workflows/test_wasip1.yml @@ -1,6 +1,12 @@ -on: [push, pull_request] name: Test wasip1 + +on: + push: + branches: [ "master", "main" ] + pull_request: + permissions: {} + jobs: test: strategy: