diff options
| -rw-r--r-- | .github/workflows/invitation.yml | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/.github/workflows/invitation.yml b/.github/workflows/invitation.yml index 353b09c..3730de2 100644 --- a/.github/workflows/invitation.yml +++ b/.github/workflows/invitation.yml @@ -1,7 +1,6 @@ on: issues: types: [labeled] - label: invitation jobs: automate_invite: @@ -10,32 +9,10 @@ jobs: env: INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }} steps: -# - name: Invite on label -# uses: vj-abigo/invite-on-label@v1.4 -# with: -# organization: HydroRoll-Team -# # label: invitation -# repo-token: ${{ secrets.GITHUB_TOKEN }} -# comment: '<b>邀请函发送成功~ 欢迎来到水系社区! 🎉</b><br><br>不要忘记在人员列表内将组织可见性改成“公开”("Public"),这样可以让所有人都看到。 <br>你可以在[这里](https://github.com/orgs/HydroRoll-Team/people)找到自己并且更改组织可见性。<br><br>希望这些可以帮助你!<br><br>简律纯。' - - name: Invite contributor to the organization team - uses: lekterable/inclusive-organization-action@v1.1.0 + - name: Invite on label + uses: vj-abigo/invite-on-label@v1.4 with: organization: HydroRoll-Team - team: HydroRollMaster - comment: '现在你已经在遗产骰主列表里了!' - env: - ACCESS_TOKEN: ${{ secrets.INVITE_TOKEN }} - -# jobs: -# invite: -# permissions: write-all -# runs-on: ubuntu-latest -# steps: -# - name: Invite contributor to the organization -# uses: lekterable/inclusive-organization-action@v1.1.0 -# with: -# organization: HydroRoll-Team -# team: HydroRollMaster -# comment: '<b>邀请函发送成功~ 欢迎来到水系社区! 🎉</b><br><br>不要忘记在人员列表内将组织可见性改成“公开”("Public"),这样可以让所有人都看到。 <br>你可以在[这里](https://github.com/orgs/HydroRoll-Team/people)找到自己并且更改组织可见性。<br><br>希望这些可以帮助你!<br><br>简律纯。' -# env: -# ACCESS_TOKEN: ${{ secrets.INVITE_TOKEN }} + label: invitation + repo-token: ${{ secrets.GITHUB_TOKEN }} + comment: '<b>邀请函发送成功~ 欢迎来到水系社区! 🎉</b><br><br>不要忘记在人员列表内将组织可见性改成“公开”("Public"),这样可以让所有人都看到。 <br>你可以在[这里](https://github.com/orgs/HydroRoll-Team/people)找到自己并且更改组织可见性。<br><br>希望这些可以帮助你!<br><br>简律纯。' |
