Skip to content

Commit

Permalink
CXBOX-108 | added dataItem to sendOperationSuccess
Browse files Browse the repository at this point in the history
  • Loading branch information
DROMANE authored and IgorNB committed Aug 17, 2023
1 parent fc8a4a6 commit 006d1fc
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build-alpha-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
name: Check if commentator is a member of cxbox-team
runs-on: ubuntu-latest
env:
TOKEN: ${{ secrets.cxboxgithub_token }}
USER: cxboxgithub
TOKEN: ${{ secrets.READ_MEMBERS_TOKEN }}
USER: ${{ secrets.READ_MEMBERS_USER}}
outputs:
output1: ${{ steps.step1.outputs.member_check }}
steps:
Expand All @@ -29,15 +29,15 @@ jobs:
name: Build alpha package
needs: check-commentator
env:
TOKEN: ${{ secrets.cxboxgithub_token }}
TOKEN: ${{ secrets.READ_MEMBERS_TOKEN }}
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/alpha') && needs.check-commentator.outputs.output1 > 0
runs-on: ubuntu-latest
steps:
- name: Get PR
id: get_pr
run: |
echo "github.event.issue.pull_request.url=${{ github.event.issue.pull_request.url }}"
pr=`curl -u cxboxgithub:$TOKEN ${{ github.event.issue.pull_request.url }} | tr '\n' ' '`
pr=`curl -u drite:$TOKEN ${{ github.event.issue.pull_request.url }} | tr '\n' ' '`
echo "##[set-output name=pr_data;]$pr"
- name: Get branch
Expand Down Expand Up @@ -75,10 +75,15 @@ jobs:

- name: Increase version
run: |
git config --global user.name "github"
git config --global user.email "dergachev@hotmail.com"
git config --global user.name "cxbox"
git config --global user.email "cxbox.mail@gmail.com"
yarn version --new-version ${{ steps.bump_version.outputs.next-version }}
- uses: actions/setup-node@v1
with:
node-version: '10.x'
always-auth: true

- name: install
run: yarn install

Expand Down

0 comments on commit 006d1fc

Please sign in to comment.