Second new test issue #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
# Used to test the Asana bridge, and also a reference implementation of sorts, | |
# though note that this uses the action locally, but you'd have to load it | |
# from the repo. See the README | |
name: "Github-Asana bridge: development" | |
on: | |
issues: | |
types: | |
- labeled | |
# - opened # works, but we don't want it on every one | |
# - edited # TODO: add support for me | |
# - closed # TODO: add support for me | |
jobs: | |
handle_issue: | |
runs-on: ubuntu-latest | |
name: "Trigger after specific GH label was added" | |
if: github.event.label.name == 'Asana' | |
steps: | |
- id: run-bridger | |
uses: mozmeao/asana-github-bridge/issue-handler@main | |
with: | |
only-react-to: repo-org | |
ASANA_PAT: ${{ secrets.ASANA_PAT }} | |
ASANA_PROJECT: ${{ secrets.ASANA_PROJECT }} | |
REPO_TOKEN: ${{ secrets.ASANA_GITHUB_BRIDGE_TOKEN }} |