Incorporating GitHub Actions

To start using a GitHub Action, you'll need to create a workflow file that refers to the external repository where the action code is kept. Yetto's actions are defined in the BottleCapTechnology/yetto-actions repository.

To add Yetto actions to your repository:

  1. Create a directory in your repository called .github.

  2. Within that directory, create another directory called workflows.

  3. In the workflows directory, create a file called yetto.yml.

  4. Paste the following lines into the yetto.yml file:

    on: [issues, issue_comment]
    name: Yetto Actions
        name: Perform Yetto Action
        runs-on: ubuntu-latest
        - name: Yetto Action
          uses: BottleCapTechnology/yetto-actions@v0.0.1
            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

This sets up your repository to make use of the Yetto actions we've defined in BottleCapTechnology/yetto-actions. We will be providing updates to this code as we create more actions and improvements in the future. When we make updates, we'll announce them on our blog. To receive an update, you'll need to do change the version suffix of the action, from @v0.0.1 to the next release (@v0.0.2, @v0.1, @v0.2, @v1.0, etc.). For more information on the workflow syntax, check out the GitHub Help documentation.