Add bump runner version whenever action is versioned

Ensures that the runner version is bumped along with the action version.
This commit is contained in:
Andrew Eisenberg 2021-05-21 13:36:20 -07:00
parent 800a951427
commit ea89b06c41
4 changed files with 7 additions and 9 deletions

View file

@ -27,14 +27,12 @@ jobs:
env:
BASE_BRANCH: "${{ github.event.inputs.baseBranch || 'main' }}"
HEAD_BRANCH: "${{ github.head_ref || github.ref }}"
# Would like to use the github/codeql-core team, but that is not working
DEFAULT_REVIEWER: "aeisenberg"
steps:
- name: Dump GitHub context
- name: Dump GitHub Event context
env:
GITHUB_CONTEXT: "${{ toJson(github) }}"
run: echo "$GITHUB_CONTEXT"
GITHUB_EVENT_CONTEXT: "${{ toJson(github.event) }}"
run: echo "$GITHUB_EVENT_CONTEXT"
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
@ -123,5 +121,4 @@ jobs:
--base "$BASE_BRANCH" \
--title "$PR_TITLE" \
--body "$PR_BODY" \
--reviewer "$DEFAULT_REVIEWER" \
"$DRAFT"

View file

@ -9,7 +9,8 @@
"test-debug": "ava src/** --serial --verbose --timeout=20m",
"lint": "eslint --report-unused-disable-directives --max-warnings=0 . --ext .js,.ts",
"lint-fix": "eslint --report-unused-disable-directives --max-warnings=0 . --ext .js,.ts --fix",
"removeNPMAbsolutePaths": "removeNPMAbsolutePaths . --force"
"removeNPMAbsolutePaths": "removeNPMAbsolutePaths . --force",
"version": "cd runner && npm version patch && git add ."
},
"ava": {
"typescript": {

View file

@ -1,6 +1,6 @@
{
"name": "codeql-runner",
"version": "0.0.0",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "codeql-runner",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"description": "CodeQL runner",
"scripts": {