tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

regen_certs.yml (1228B)


      1 name: certificates
      2 on:
      3  # Our certificates are good for ~1 year, but we regenerate them every
      4  # month to be sure. Also support manually triggering the workflow.
      5  schedule:
      6    - cron: 0 0 12 * *
      7  workflow_dispatch:
      8 jobs:
      9  update:
     10    runs-on: ubuntu-24.04
     11    if: github.repository == 'web-platform-tests/wpt'
     12    steps:
     13    - name: Set up Python
     14      uses: actions/setup-python@v5
     15      with:
     16        python-version: '3.12'
     17    - name: Checkout
     18      uses: actions/checkout@v4
     19    - name: Regenerate certs
     20      run: |
     21        python wpt make-hosts-file | sudo tee -a /etc/hosts
     22        python wpt regen-certs --force
     23    - name: Commit and create pull request
     24      uses: peter-evans/create-pull-request@v6
     25      with:
     26        token: ${{ secrets.GITHUB_TOKEN }}
     27        author: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
     28        commit-message: Automated regeneration of WPT certificates
     29        title: Regenerate WPT certificates
     30        body: |
     31          This automated pull request renews the core WPT certificates.
     32 
     33          See the [workflow](https://github.com/web-platform-tests/wpt/blob/master/.github/workflows/regen_certs.yml) for how this pull request was created.
     34        branch: actions/regen-certs