This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
forked from lazy-actions/gitrivy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from dataswift/main
Fork Sync
- Loading branch information
Showing
12 changed files
with
3,468 additions
and
4,445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
target-branch: "main" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/" | ||
target-branch: "main" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
|
||
categories: | ||
- title: 'Features' | ||
labels: | ||
- 'feature' | ||
- title: 'Bugs' | ||
labels: | ||
- 'bug' | ||
- 'fix' | ||
- title: 'Maintenance' | ||
labels: | ||
- 'chore' | ||
|
||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' | ||
|
||
version-resolver: | ||
default: patch | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'minor' | ||
patch: | ||
labels: | ||
- 'patch' | ||
|
||
template: | | ||
## Changes | ||
$CHANGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
name: Test my typescript action | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'src/**' | ||
- 'dist/**' | ||
- tsconfig.json | ||
- package.json | ||
- yarn.lock | ||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
env: | ||
IMAGE_NAME: alpine:3.10.1 | ||
|
@@ -26,23 +21,14 @@ jobs: | |
run: yarn run build | ||
|
||
- name: Pull docker image | ||
run: docker pull alpine:3.10.3 | ||
run: docker pull ${{ env.IMAGE_NAME }} | ||
|
||
- uses: ./ | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
image: alpine:3.10.1 | ||
image: ${{ env.IMAGE_NAME }} | ||
issue_label: trivy,vulnerability,test | ||
issue_title: Security Alert Test | ||
issue_assignee: homoluctus | ||
|
||
- uses: homoluctus/[email protected] | ||
if: always() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: ':ts: *test gitrivy (test1)*' | ||
channel: '#develop' | ||
url: ${{ secrets.SLACK_WEBHOOK }} | ||
|
||
test2: | ||
name: Test for getting image name from enviroment variable | ||
|
@@ -57,22 +43,13 @@ jobs: | |
run: yarn run build | ||
|
||
- name: Pull docker image | ||
run: docker pull alpine:3.10.3 | ||
run: docker pull ${{ env.IMAGE_NAME }} | ||
|
||
- uses: ./ | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue_label: trivy,vulnerability,test | ||
issue_title: Security Alert Test | ||
issue_assignee: homoluctus | ||
|
||
- uses: homoluctus/[email protected] | ||
if: always() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: ':ts: *test gitrivy (test2)*' | ||
channel: '#develop' | ||
url: ${{ secrets.SLACK_WEBHOOK }} | ||
|
||
test3: | ||
name: Test not to create issue | ||
|
@@ -87,16 +64,8 @@ jobs: | |
run: yarn run build | ||
|
||
- name: Pull docker image | ||
run: docker pull alpine:3.10.3 | ||
run: docker pull ${{ env.IMAGE_NAME }} | ||
|
||
- uses: ./ | ||
with: | ||
issue: 'false' | ||
|
||
- uses: homoluctus/[email protected] | ||
if: always() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: ':ts: *test gitrivy (test3)*' | ||
channel: '#develop' | ||
url: ${{ secrets.SLACK_WEBHOOK }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Fork Sync | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 4 * * MON' | ||
|
||
jobs: | ||
sync: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: tgymnich/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
base: master | ||
head: main | ||
auto_approve: true | ||
personal_token: ${{ secrets.BOT_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.