From c2d2dfdcdda002b86238a04cd115c9f89a687ceb Mon Sep 17 00:00:00 2001 From: Robert Brignull Date: Mon, 15 Jun 2020 14:17:16 +0100 Subject: [PATCH 1/3] add instructions --- .github/workflows/update-release-branch.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index 3cd98d649..531fb433b 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -3,6 +3,8 @@ on: schedule: - cron: 0 9 * * 1 repository_dispatch: + # Example of how to trigger this: + # curl -H "Authorization: Bearer " -X POST https://api.github.com/repos/github/codeql-action/dispatches -d '{"event_type":"update-release-branch"}' types: [update-release-branch] jobs: From 7e2e297e0703a6ed4ace15837feb5b729de916b7 Mon Sep 17 00:00:00 2001 From: Sam Partington Date: Mon, 15 Jun 2020 16:24:34 +0100 Subject: [PATCH 2/3] Remove jest config as tests use Ava now Usage of Jest was removed in https://github.com/github/codeql-action/pull/18 --- jest.config.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 jest.config.js diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 563d4ccb8..000000000 --- a/jest.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - clearMocks: true, - moduleFileExtensions: ['js', 'ts'], - testEnvironment: 'node', - testMatch: ['**/*.test.ts'], - testRunner: 'jest-circus/runner', - transform: { - '^.+\\.ts$': 'ts-jest' - }, - verbose: true -} \ No newline at end of file From 7928587bdfa73e2cc567513c57aa548345c7a53c Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 16 Jun 2020 09:34:06 +0100 Subject: [PATCH 3/3] Update .github/workflows/update-release-branch.yml Co-authored-by: Alex Kalyvitis <1204095+alexkappa@users.noreply.github.com> --- .github/workflows/update-release-branch.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index 531fb433b..6815ac3cf 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -5,6 +5,7 @@ on: repository_dispatch: # Example of how to trigger this: # curl -H "Authorization: Bearer " -X POST https://api.github.com/repos/github/codeql-action/dispatches -d '{"event_type":"update-release-branch"}' + # Replace with a personal access token from this page: https://github.com/settings/tokens types: [update-release-branch] jobs: