Skip to content

Commit

Permalink
Merge pull request #57 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 8a91c96 + 6b0a8b1 commit 8e73504
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 277 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 }}
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 8e73504

Please sign in to comment.