Skip to content

Commit

Permalink
feat: test CI watch changed files (#1)
Browse files Browse the repository at this point in the history
* fix: trigger CI

* fix: fixing runner default

* fix: fixing add on pr open
  • Loading branch information
prakasa-tkpd authored Nov 6, 2023
1 parent 8d24e16 commit af63c31
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/monitor-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@ name: "Monitor Changed Files"

on:
workflow_dispatch:
# pull_request:
# branches:
# - main
# types:
# - opened
# - synchronize
# - reopened
# - ready_for_review
# - edited
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- ready_for_review
- edited

jobs:
run-monitor-changed-files:
name: monitor files
runs-on: [self-hosted, owner=cloud-platform-l4, runnerset=default-runners, env=staging, opco=tokopedia]
concurrency:
group: monitor-changed-files-${{ github.head_ref }}
cancel-in-progress: true
runs-on: ubuntu-latest

steps:
- name: Get all test, doc and src files that have changed
id: changed-files-yaml
Expand Down
1 change: 1 addition & 0 deletions domain/var/robots.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
User-agent: *
Allow: *

0 comments on commit af63c31

Please sign in to comment.