Skip to content

Commit

Permalink
Update export-to-serverlessland.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
julianwood authored Jan 22, 2024
1 parent 1ae6919 commit 0877c22
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/export-to-serverlessland.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,12 @@ on:
jobs:
copy:
runs-on: ubuntu-latest
if: ${{ (github.actor == 'bls20aws') || (github.actor == 'singledigit') || (github.actor == 'boyney123') || (github.actor == 'mavi888') || (github.actor == 'julianwood') }}
env:
NODE_ENV: dev
fileName: ${{ inputs.fileName }}
steps:
- name: Check if user is a member of the team
uses: tspascoal/get-user-teams-membership@v2
id: checkUserMember
with:
username: ${{ github.actor }}
team: 'aws-serverless-da'
GITHUB_TOKEN: ${{ secrets.GET_USER_TEAMS_MEMBERSHIP }}
- name: Copycat
if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}
uses: andstor/copycat-action@v3
with:
personal_token: ${{ secrets.patterns_pat }}
Expand Down

0 comments on commit 0877c22

Please sign in to comment.