Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmruz Hossain <emruz@appscode.com>2020-11-01 14:55:36 +0300
committerGitHub <noreply@github.com>2020-11-01 14:55:36 +0300
commit9092918de79a2fca9cda9769da49e591653364bc (patch)
tree103726e87e2cafa0d2a056c6f177d4603efefb23
parent90a85153c0539497bc9c82c51c80ed304bb5db66 (diff)
Update workflows to use latest release instead of master branch (#148)
-rw-r--r--.github/workflows/autoprefixer.yml6
-rw-r--r--.github/workflows/draft-release.yml11
2 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml
index cf90151..cf4083b 100644
--- a/.github/workflows/autoprefixer.yml
+++ b/.github/workflows/autoprefixer.yml
@@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout to latest commit
- uses: actions/checkout@v2
+ uses: actions/checkout@v2.3.3
- name: Setup Node
uses: actions/setup-node@v2.1.2
with:
- node-version: "12.x"
+ node-version: "15.x"
- name: Run autoprefixer
run: |
@@ -21,7 +21,7 @@ jobs:
npm run autoprefixer
- name: Create Pull Request
- uses: peter-evans/create-pull-request@v3
+ uses: peter-evans/create-pull-request@v3.4.1
with:
branch: autoprefixer
branch-suffix: timestamp
diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml
index cf6d830..10475bb 100644
--- a/.github/workflows/draft-release.yml
+++ b/.github/workflows/draft-release.yml
@@ -1,14 +1,15 @@
name: Release Drafter
-
+# Run action on push in mater branch
on:
push:
branches:
- - master
+ - master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- - uses: release-drafter/release-drafter@master
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ # Create/Update release draft
+ - uses: release-drafter/release-drafter@v5.12.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}