mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-12 02:58:31 -05:00
Refactor github actions and add copycat (#10215)
* add actions * disable copycat, fix action location * dont look for env for token
This commit is contained in:
16
.github/workflows/merger.yml
vendored
16
.github/workflows/merger.yml
vendored
@@ -1,16 +0,0 @@
|
||||
name: AutoMerger
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
release_labeler:
|
||||
name: Auto Merger
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
- uses: ./build/actions/AutoMerge
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GithubMerger }}"
|
||||
23
.github/workflows/on-issue-open.yml
vendored
Normal file
23
.github/workflows/on-issue-open.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: On Issue Open
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'microsoft/azuredatastudio'
|
||||
ref: master
|
||||
path: ./actions
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions
|
||||
|
||||
- name: Run CopyCat
|
||||
uses: ./actions/copycat
|
||||
with:
|
||||
owner: anthonydresser
|
||||
repo: testissues
|
||||
23
.github/workflows/on-pr-open.yml
vendored
Normal file
23
.github/workflows/on-pr-open.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: On PR Open
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- release/**
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'microsoft/azuredatastudio'
|
||||
ref: master
|
||||
path: ./actions
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions/build/actions
|
||||
|
||||
- name: Run Port Labeler
|
||||
uses: ./actions/auto-labeler
|
||||
with:
|
||||
label: "Port Request"
|
||||
19
.github/workflows/portlabel.yml
vendored
19
.github/workflows/portlabel.yml
vendored
@@ -1,19 +0,0 @@
|
||||
name: Port Request Labeler
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- release/**
|
||||
|
||||
jobs:
|
||||
release_labeler:
|
||||
name: Release labeler
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
- uses: ./build/actions/AutoLabel
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
with:
|
||||
label: "Port Request"
|
||||
Reference in New Issue
Block a user