Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/AddPRComment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request_target:
pull_request:
types: [opened]
Comment on lines 1 to 3
branches:
- dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/AzdevLinter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: GH Check CLI Linter
on:
pull_request_target:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
branches:
- dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/AzdevStyle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: GH Check CLI Style
on:
pull_request_target:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
branches:
- dev
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/BlockPRMerge.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Block PR merging on blocked labels

on:
pull_request_target:
pull_request:
types: [labeled, unlabeled]
branches:
- dev
- release

permissions: {}

jobs:
block-merge:
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Check blocked labels
uses: actions/github-script@v7
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/CCOA.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: CCOA

on:
pull_request_target:
pull_request:
types:
- opened
- reopened
branches:
- dev
Comment on lines 3 to 9

permissions:
pull-requests: write
permissions: {}

jobs:
add_label_and_comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write

steps:
- name: Check current date securely
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/GitHookNotice.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Git Hook Notice
on:
pull_request_target:
pull_request:
types: [opened]
branches:
- dev
Expand All @@ -11,18 +11,16 @@ jobs:
git-hook-notice:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
name: Introduce git hook in developer env
steps:
- name: Checkout git hook notice message
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/template/git-hooks-note.md
- name: Comment on pull request
uses: mshick/add-pr-comment@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message-id: gitHookNoticeComment
message-path: |
.github/template/git-hooks-note.md
- name: Show git hook notice
run: |
echo "::group::Git hook notice"
cat .github/template/git-hooks-note.md
echo "::endgroup::"
Comment on lines +22 to +26
Loading