This repository has been archived by the owner on May 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: converted main.workflow to Actions V2 yml files (#19)
Switch to GitHub Actions V2 syntax (YAML) and fix neutral exit code to succeed when nothing to do.
- Loading branch information
Showing
5 changed files
with
99 additions
and
57 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: milestone | ||
name: Milestone Closure | ||
jobs: | ||
action-filter: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: action-filter | ||
uses: actions/bin/filter@master | ||
with: | ||
args: action closed | ||
- name: Create Release Notes | ||
uses: docker://decathlon/release-notes-generator-action:1.0.1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
OUTPUT_FOLDER: temp_release_notes | ||
USE_MILESTONE_TITLE: "true" | ||
- name: Upload Release Notes to Wiki | ||
uses: docker://decathlon/wiki-page-creator-action:1.0.0 | ||
env: | ||
ACTION_MAIL: oss@decathlon.com | ||
ACTION_NAME: decathlonbot | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
MD_FOLDER: temp_release_notes | ||
OWNER: decathlon | ||
REPO_NAME: pull-request-labeler-action | ||
SKIP_MD: README.md |
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,13 @@ | ||
on: pull_request | ||
name: Auto Label Pull Request | ||
jobs: | ||
pRLabelByFiles: | ||
name: PR label by Files | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: PR label by Files | ||
uses: ./ | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CONFIG_PATH: ${{ secrets.GITHUB_WORKSPACE }}/.github/label-pr.yml |
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