Skip to content

Commit 8210505

Browse files
author
Mike Coutermarsh
authored
Merge branch 'master' into master
2 parents e9cf5d9 + 84b30a2 commit 8210505

File tree

9 files changed

+466
-332
lines changed

9 files changed

+466
-332
lines changed

.github/workflows/codeql.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: "Code scanning - action"
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 19 * * 0'
8+
9+
jobs:
10+
CodeQL-Build:
11+
12+
# CodeQL runs on ubuntu-latest and windows-latest
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
with:
19+
# We must fetch at least the immediate parents so that if this is
20+
# a pull request then we can checkout the head.
21+
fetch-depth: 2
22+
23+
# If this run was triggered by a pull request event, then checkout
24+
# the head of the pull request instead of the merge commit.
25+
- run: git checkout HEAD^2
26+
if: ${{ github.event_name == 'pull_request' }}
27+
28+
# Initializes the CodeQL tools for scanning.
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v1
31+
# Override language selection by uncommenting this and choosing your languages
32+
# with:
33+
# languages: go, javascript, csharp, python, cpp, java
34+
35+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
36+
# If this step fails, then you should remove it and run the build manually (see below)
37+
- name: Autobuild
38+
uses: github/codeql-action/autobuild@v1
39+
40+
# ℹ️ Command-line programs to run using the OS shell.
41+
# 📚 https://git.io/JvXDl
42+
43+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
44+
# and modify them (or add more) to build your code if your project
45+
# uses a compiled language
46+
47+
#- run: |
48+
# make bootstrap
49+
# make release
50+
51+
- name: Perform CodeQL Analysis
52+
uses: github/codeql-action/analyze@v1

.github/workflows/versioning.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Keep the versions up-to-date
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
actions-tagger:
9+
runs-on: windows-latest
10+
steps:
11+
- uses: Actions-R-Us/actions-tagger@latest
12+
with:
13+
publish_latest: true
14+
env:
15+
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout code
48-
uses: actions/checkout@master
48+
uses: actions/checkout@v2
4949
- name: Create Release
5050
id: create_release
5151
uses: actions/create-release@v1

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ inputs:
2222
description: '`true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false`'
2323
required: false
2424
default: false
25+
commitish:
26+
description: 'Any branch or commit SHA the Git tag is created from, unused if the Git tag already exists. Default: SHA of current commit'
27+
required: false
2528
outputs:
2629
id:
2730
description: 'The ID of the created Release'

0 commit comments

Comments
 (0)