Skip to content

Commit

Permalink
Merge pull request #10 from simatic-ax/feat_kruegerf_actions
Browse files Browse the repository at this point in the history
feat(ci): Added reference to reusable workflows in actions repository
  • Loading branch information
sjuergen authored Jan 9, 2023
2 parents d816d95 + dd40aff commit bf116bb
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 278 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-library.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: push

jobs:
build-apax-lib:
uses: simatic-ax/actions/.github/workflows/apax-build.yml@stable
secrets:
APAX_TOKEN: ${{ secrets.APAX_TOKEN }}
with:
ACTIONS_REF: stable
LOGIN_SIMATIC_AX: true

test-apax-lib:
needs: build-apax-lib
uses: simatic-ax/actions/.github/workflows/apax-build-test.yml@stable
secrets:
APAX_TOKEN: ${{ secrets.APAX_TOKEN }}
with:
LOGIN_SIMATIC_AX: true
178 changes: 0 additions & 178 deletions .github/workflows/github-action-release.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/github-action-test-apax.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/lint-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
on: push
jobs:
lint-repo-and-markdown:
uses: simatic-ax/actions/.github/workflows/check-repository.yml@stable
19 changes: 0 additions & 19 deletions .github/workflows/lint.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/release-library.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
# Pattern matched against refs/tags
tags:
- '*'

jobs:
release-apax-lib:
uses: simatic-ax/actions/.github/workflows/apax-publish.yml@stable
secrets:
APAX_TOKEN: ${{ secrets.APAX_TOKEN }}
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}

with:
VERSION: ${{ github.ref_name }}
14 changes: 14 additions & 0 deletions .markdownlint copy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# markdownlint YAML configuration
---

# Default state for all rules
default: true

# ignored rules
line-length: false
no-inline-html: false
first-line-h1: false
no-emphasis-as-header: false
MD024:
allow_different_nesting: true
siblings_only: true
5 changes: 4 additions & 1 deletion .markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ default: true
line-length: false
no-inline-html: false
first-line-h1: false
no-emphasis-as-header: false
no-emphasis-as-header: false
MD024:
allow_different_nesting: true
siblings_only: true
21 changes: 21 additions & 0 deletions repolinter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/todogroup/repolinter/master/rulesets/schema.json",
"version": 2,
"axioms": {
"linguist": "language",
"licensee": "license",
"packagers": "packager"
},
"rules": {
"license-file-exists": {
"level": "off",
"rule": {
"type": "file-existence",
"options": {
"globsAny": ["LICENSE*", "COPYING*"],
"nocase": true
}
}
}
}
}

0 comments on commit bf116bb

Please sign in to comment.