Skip to content

Commit

Permalink
Playaround wfs
Browse files Browse the repository at this point in the history
  • Loading branch information
ValVau committed Oct 23, 2024
1 parent 0500a30 commit d7371a5
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/QCD_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'src/BTVNanoCommissioning/utils/*'
- '.github/workflows/QCD_workflow.yml'

pull_request:
pull_request_target:
branches: [ master ]
paths:
- 'src/BTVNanoCommissioning/workflows/*QCD*'
Expand All @@ -38,6 +38,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ctag_DY_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'src/BTVNanoCommissioning/helpers/definitions.py'
- 'src/BTVNanoCommissioning/utils/*'
- '.github/workflows/ctag_DY_workflow.yml'
pull_request:
pull_request_target:
branches: [ master ]
paths:
- 'src/BTVNanoCommissioning/workflows/ctag_*DY*'
Expand All @@ -36,6 +36,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ctag_Wc_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'src/BTVNanoCommissioning/utils/*'
- '.github/workflows/ctag_Wc_workflow.yml'

pull_request:
pull_request_target:
branches: [ master ]
paths:
- 'src/BTVNanoCommissioning/workflows/ctag_*Wc*'
Expand All @@ -38,6 +38,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ctag_ttbar_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'src/BTVNanoCommissioning/helpers/definitions.py'
- 'src/BTVNanoCommissioning/utils/*'
- '.github/workflows/ctag_ttbar_workflow.yml'
pull_request:
pull_request_target:
branches: [ master ]
paths:
- 'src/BTVNanoCommissioning/workflows/ctag*tt*'
Expand All @@ -37,6 +37,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
cvmfs_repositories: 'grid.cern.ch'
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ttbar_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'src/BTVNanoCommissioning/helpers/definitions.py'
- 'src/BTVNanoCommissioning/utils/*'
- '.github/workflows/ttbar_workflow.yml'
pull_request:
pull_request_target:
branches: [ master ]
paths:
- 'src/BTVNanoCommissioning/workflows/tt*'
Expand All @@ -36,6 +36,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'src/BTVNanoCommissioning/helpers/definitions.py'
- 'src/BTVNanoCommissioning/utils/*'
- '.github/workflows/validation.yml'
pull_request:
pull_request_target:
branches: [ master ]
paths:
- 'src/BTVNanoCommissioning/workflows/validation.py'
Expand All @@ -36,6 +36,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down

0 comments on commit d7371a5

Please sign in to comment.