diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..e5ecf1e --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,32 @@ +name: "Publish" + +on: + push: + branches: + - "master" + - "publish" + workflow_dispatch: {} + schedule: + - cron: "0 21 * * 6" + +permissions: + contents: read + +jobs: + publish: + runs-on: ubuntu-24.04 + + steps: + - name: Harden Runner + uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 + with: + egress-policy: audit + + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Set up Ruby + uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0 + with: + rubygems: latest + bundler: latest + bundler-cache: true