Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 1.03 KB

pat.md

File metadata and controls

37 lines (29 loc) · 1.03 KB

How to use a Personal Access Token

Settings

1st Step

You need to create a Personal access token with those permission to open a pull request automatically.

required repo permissions

required user permissions

Then please add the personal access token to your repository secrets with an easily recognizable name. For example, IMGCMP_ACCESS_TOKEN.

2nd step

To run this GitHub Actions, please add the following lines to your .github/workflows/imgcmp.yml:

name: imgcmp
on:
  push:
    branches:
      - main
      - master
jobs:
  imgcmp:
    runs-on: ubuntu-latest
    steps:
      - uses: 9sako6/[email protected]
        with:
          token: ${{ secrets.IMGCMP_ACCESS_TOKEN }}