From 41b501146980837804d84e00e1cf966c1f87cbba Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Thu, 23 May 2024 21:34:46 +0200 Subject: [PATCH] test action on itself --- .github/workflows/test-action.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test-action.yml diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml new file mode 100644 index 0000000..7c23152 --- /dev/null +++ b/.github/workflows/test-action.yml @@ -0,0 +1,27 @@ +name: Find team members + +on: + pull_request: + +jobs: + get-team: + runs-on: ubuntu-latest + steps: + - name: Fetch team data + # We add the id to access to this step outputs + id: teams + uses: paritytech/list-team-members@rust/migration + with: + ACCESS_TOKEN: ${{ secrets.READ_ORG_PAT }} + team: opstooling + # optional, in case that it searches on a different organization + organization: paritytech + # example showing how to use the content + - name: Show data + run: | + echo "The users are $USERNAMES" + echo "Data: $DATA" + env: + USERNAMES: ${{ steps.teams.outputs.usernames }}" + # a json object + DATA: ${{ steps.teams.outputs.data }}"