Skip to content

Commit c50a92b

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on documentation
Added informational and corporate documentation
1 parent f9bf245 commit c50a92b

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

.github/workflows/linter.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Lint Code Base
2+
3+
#
4+
# Documentation:
5+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
6+
#
7+
8+
#############################
9+
# Start the job on all push #
10+
#############################
11+
on:
12+
push:
13+
branches-ignore: [ master ]
14+
# Remove the line above to run when pushing to master
15+
pull_request:
16+
branches: [ master ]
17+
18+
###############
19+
# Set the Job #
20+
###############
21+
jobs:
22+
build:
23+
# Name the Job
24+
name: Lint Code Base
25+
# Set the agent to run on
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout Code
29+
uses: actions/checkout@v2
30+
with:
31+
fetch-depth: 0
32+
- name: Lint Code Base
33+
uses: github/super-linter@v3
34+
env:
35+
VALIDATE_ALL_CODEBASE: false
36+
DEFAULT_BRANCH: master
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Version Update
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.**'
7+
8+
jobs:
9+
update-version:
10+
name: Update VERSION
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repo
14+
uses: actions/checkout@v2
15+
with:
16+
ref: master
17+
fetch-depth: 0
18+
19+
- name: Edit version.txt
20+
run: echo "VERSION = \"$(git describe --tags `git rev-list --tags --max-count=1`)\"" > version.txt
21+
22+
- name: Commit update
23+
uses: stefanzweifel/git-auto-commit-action@v4
24+
with:
25+
branch: git-version-updates
26+
skip_dirty_check: true
27+
commit_message: 'Update VERSION'
28+
commit_options: '--no-verify --signoff'
29+
commit_user_name: GitHub Bot
30+
commit_user_email: [email protected]
31+
commit_author: GitHub Bot <[email protected]>

0 commit comments

Comments
 (0)