This GitHub Action automates attendance marking on the Talana platform using JavaScript, Node.js, and Selenium. It runs on a schedule, logging in and marking attendance as "In" or "Out" based on the time, leveraging Selenium to interact with the platform. The action ensures seamless, automated attendance marking.
To use this action, you need Google Chrome and ChromeDriver installed on the runner. You can install them using the setup-chrome GitHub Action. This action automatically provides the necessary paths to the Chrome and ChromeDriver binaries. These paths should be passed as inputs (chrome_path
and chromedriver_path
) to the talana-attendance-javascript-action GitHub Action.
Required User email for authentication.
Required User password for authentication.
Required Attendance type: In or Out.
Required Path to the installed Chrome binary.
Required Path to the installed ChromeDriver binary.
The time when the attendance was marked.
uses: cbecerrae/talana-attendance-javascript-action@v1
with:
attendance_email: 'user@example.com'
attendance_password: 'password123'
attendance_type: 'In'
chrome_path: '/path/to/chrome'
chromedriver_path: '/path/to/chromedriver'
For a full example of how to implement this action alongside setup-chrome, check the .github/workflows/schedule-attendance.yml
file. This example demonstrates how to schedule attendance marking and provides a working setup for using this action in combination with the setup-chrome action.