1
0
mirror of synced 2026-01-13 09:03:58 -05:00
Files
docs/translations/ru-RU/data/reusables/actions/github_token-input-example.md
2022-11-16 21:42:42 +00:00

869 B
Raw Blame History

ms.openlocfilehash, ms.sourcegitcommit, ms.translationtype, ms.contentlocale, ms.lasthandoff, ms.locfileid
ms.openlocfilehash ms.sourcegitcommit ms.translationtype ms.contentlocale ms.lasthandoff ms.locfileid
eeaa56fe9499f2e74e2baa66f883d9aa31bc81f9 47bd0e48c7 HT ru-RU 09/05/2022 147065733

В этом примере рабочего процесса используется действие маркировщика, для которого требуется GITHUB_TOKEN в качестве значения входного параметра repo-token:

name: Pull request labeler
on: [ pull_request_target ]

permissions:
  contents: read
  pull-requests: write

jobs:
  triage:
    runs-on: ubuntu-latest
    steps:
      - uses: {% data reusables.actions.action-labeler %}
        with:
          repo-token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}