Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): Added reference to reusable workflows in actions repository #10

Merged
merged 1 commit into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}
}
}
}