From da46b61ad724dbb5b95e3949223f24f12c4e6e34 Mon Sep 17 00:00:00 2001 From: schooltechx Date: Mon, 20 Mar 2023 15:18:44 +0700 Subject: [PATCH] update release script --- .github/workflows/release.yaml | 10 +++++----- action-events.json | 13 +++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 action-events.json diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f4258c8..563e6cd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,11 +1,11 @@ name: release run-name: release ${{ github.actor }} on: - push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' - tags-ignore: - - '2.*' + # push: + # tags: + # - 'v[0-9]+.[0-9]+.[0-9]+' + # tags-ignore: + # - '2.*' # Allow run workflow manually from Action tab workflow_dispatch: inputs: diff --git a/action-events.json b/action-events.json new file mode 100644 index 0000000..1d78b75 --- /dev/null +++ b/action-events.json @@ -0,0 +1,13 @@ +{ + "push":{ + + }, + "pull_request": { + "head": { + "ref": "sample-head-ref" + }, + "base": { + "ref": "sample-base-ref" + } + } + } \ No newline at end of file