Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.25 KB

github.md

File metadata and controls

60 lines (47 loc) · 1.25 KB

Organization

Audit Logs

# By User
actor:chriswblake

# By Repo
repo:my-org/our-repo

Reference: https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization

Actions

Show full context

steps:
- name: Show context
    run: echo "${{ toJSON(github) }}"

Show base branch

- name: Show base branch
    run: echo "${{ github.event.base_ref }}"

Auto restart self-hosted runners

  1. Follow the usual process for adding a self-hosted runner to an organization.

    1. Navigate to the organization.
    2. Select Settings tab.
    3. In left navigation, select Actions and Runners
    4. Select green New runner button.
    5. Follow prompts.
  2. Open the CRON file.

    sudo vim /etc/crontab
  3. Add an entry at the end to restart the runner after reboot.

    • replace ubuntu with the username the runner was installed on.
    • adjust the path if the default was not used.
    @reboot ubuntu ~/actions-runner/run.sh
  4. Confirm the file contents

    cat /etc/crontab
  5. Reboot the machine

    sudo reboot
    
  6. Confirm the runner is idle on GitHub.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy