Sha256: ca4962640cd7882ef0712fbf36f9b07a0ef21d7b18b8d2d46e56481658c350e4

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

name: Update licenses

on:
  push:
    paths:
      - "**/Gemfile.lock"
    branches:
      - production
      - staging
  workflow_dispatch:

permissions:
  contents: write
  pull-requests: write

jobs:
  license-cache:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.ref }}

      - uses: ./.github/actions/license

      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v4
        with:
          token: ${{ secrets.GH_SISYPHUS_YETTO_REPO_TOKEN }}
          commit-message: "[auto-license] Update license information"
          title: "[auto-license] Update license information"
          body: |
            - Update license information

            Auto-generated by [create-pull-request][1]

            [1]: https://github.com/peter-evans/create-pull-request
          branch: update-licenses
          committer: Sisyphus <sisyphus@yetto.app>
          author: Sisyphus <sisyphus@yetto.app>
          delete-branch: true
          labels: 'chore, github action'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hephaestus-0.1.3 templates/.github/workflows/licenses.yml
hephaestus-0.1.2 templates/.github/workflows/licenses.yml
hephaestus-0.1.1 templates/.github/workflows/licenses.yml
hephaestus-0.0.2 templates/.github/workflows/licenses.yml