Skip to content

Commit

Permalink
Merge 51c09cc into 0ae8a26
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Dec 18, 2023
2 parents 0ae8a26 + 51c09cc commit 49982c9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/add-action-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add new issues to project board

on:
issues:
types: [opened]

jobs:
add-to-project:
if: github.repository_owner == 'cowprotocol'
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/cowprotocol/projects/8
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
21 changes: 4 additions & 17 deletions .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,14 @@ jobs:
cla:
runs-on: ubuntu-latest
steps:
- name: "Get Team Members"
id: team
uses: actions/github-script@v6
with:
github-token: ${{ secrets.ORG_TOKEN }}
result-encoding: string
script: |
const members = await github.paginate(
github.rest.orgs.listMembers,
{ org: "cowprotocol" },
);
return members.map(m => m.login).join(",");
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/github-action@v2.1.3-beta
if: ((github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target') && github.repository_owner == 'cowprotocol' && github.repository != 'cowprotocol/cla'
uses: contributor-assistant/github-action@v2.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.ORG_TOKEN }}
with:
branch: 'cla-signatures'
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://github.com/cowprotocol/cla/blob/main/Cow%20Services%20CLA.md'
allowlist: '${{ steps.team.outputs.result }},*[bot]'
path-to-document: 'https://github.com/cowprotocol/cla/blob/main/CLA.md'
allowlist: '*[bot]'

0 comments on commit 49982c9

Please sign in to comment.